tree-wide spelling fixes in comments and some messages
Subsystems (15)
cover tree-wide spelling fixes in comments and some messages
This is a set of tree-wide spelling fixes, grouped a little bit, to be a bit easier to manage. Every change has been manually accepted, some needed minor reformatting.
In order to reduce size of the emails, I used `git format-patch -U1' to show less context in diffs.
This shuold be safe to apply for 8.1, as it does not touch actual code. There are a few message texts touched, mostly error messages.
Michael Tokarev (29):
tree-wide spelling fixes in comments and some messages: block tree-wide spelling fixes in comments and some messages: bsd-user tree-wide spelling fixes in comments and some messages: ui tree-wide spelling fixes in comments and some messages: util tree-wide spelling fixes in comments and some messages: tcg tree-wide spelling fixes in comments and some messages: docs tree-wide spelling fixes in comments and some messages: hw/9pfs tree-wide spelling fixes in comments and some messages: arm tree-wide spelling fixes in comments and some messages: i386 tree-wide spelling fixes in comments and some messages: mips tree-wide spelling fixes in comments and some messages: ppc tree-wide spelling fixes in comments and some messages: riscv tree-wide spelling fixes in comments and some messages: s390x tree-wide spelling fixes in comments and some messages: hexagon tree-wide spelling fixes in comments and some messages: other architectures tree-wide spelling fixes in comments and some messages: hw/net tree-wide spelling fixes in comments and some messages: hw/pci tree-wide spelling fixes in comments and some messages: hw/tpm tree-wide spelling fixes in comments and some messages: hw/usb hw/ide hw/i2c tree-wide spelling fixes in comments and some messages: hw/display tree-wide spelling fixes in comments and some messages: xen tree-wide spelling fixes in comments and some messages: audio tree-wide spelling fixes in comments and some messages: hw/ tree-wide spelling fixes in comments and some messages: migration/ tree-wide spelling fixes in comments and some messages: include/ tree-wide spelling fixes in comments and some messages: scripts/ tree-wide spelling fixes in comments and some messages: tests/ tree-wide spelling fixes in comments and some messages: qga/ tree-wide spelling fixes in comments and some messages: other
accel/tcg/tb-maint.c | 2 +- audio/mixeng.h | 2 +- backends/tpm/tpm_ioctl.h | 2 +- block.c | 2 +- block/block-copy.c | 4 +-- block/export/vduse-blk.c | 2 +- block/export/vhost-user-blk-server.c | 2 +- block/export/vhost-user-blk-server.h | 2 +- block/file-posix.c | 8 +++--- block/graph-lock.c | 2 +- block/io.c | 2 +- block/linux-aio.c | 2 +- block/mirror.c | 2 +- block/qcow2-refcount.c | 2 +- block/vhdx.c | 2 +- block/vhdx.h | 4 +-- bsd-user/errno_defs.h | 2 +- bsd-user/freebsd/target_os_siginfo.h | 2 +- bsd-user/freebsd/target_os_stack.h | 4 +-- bsd-user/freebsd/target_os_user.h | 2 +- bsd-user/qemu.h | 2 +- bsd-user/signal-common.h | 4 +-- bsd-user/signal.c | 6 ++--- chardev/char-socket.c | 6 ++--- chardev/char.c | 2 +- contrib/plugins/cache.c | 2 +- contrib/plugins/lockstep.c | 2 +- crypto/afalg.c | 2 +- crypto/block-luks.c | 6 ++--- crypto/der.c | 2 +- crypto/der.h | 6 ++--- docs/about/deprecated.rst | 2 +- docs/devel/qapi-code-gen.rst | 2 +- docs/devel/qom.rst | 2 +- docs/system/devices/nvme.rst | 2 +- host/include/aarch64/host/cpuinfo.h | 2 +- host/include/generic/host/cpuinfo.h | 2 +- host/include/i386/host/cpuinfo.h | 2 +- host/include/ppc/host/cpuinfo.h | 2 +- hw/9pfs/9p-local.c | 8 +++--- hw/9pfs/9p-proxy.c | 2 +- hw/9pfs/9p-synth.c | 2 +- hw/9pfs/9p-util.h | 2 +- hw/9pfs/9p.c | 4 +-- hw/9pfs/9p.h | 2 +- hw/acpi/aml-build.c | 6 ++--- hw/acpi/hmat.c | 2 +- hw/acpi/nvdimm.c | 2 +- hw/arm/aspeed.c | 2 +- hw/arm/mps2-tz.c | 2 +- hw/audio/fmopl.c | 8 +++--- hw/audio/fmopl.h | 2 +- hw/audio/gusemu_hal.c | 4 +-- hw/audio/intel-hda-defs.h | 4 +-- hw/block/hd-geometry.c | 4 +-- hw/block/pflash_cfi01.c | 2 +- hw/char/cadence_uart.c | 2 +- hw/char/imx_serial.c | 2 +- hw/char/serial.c | 2 +- hw/core/generic-loader.c | 4 +-- hw/core/loader.c | 4 +-- hw/core/machine.c | 2 +- hw/core/qdev-properties-system.c | 2 +- hw/cpu/a15mpcore.c | 2 +- hw/cxl/cxl-events.c | 2 +- hw/cxl/cxl-mailbox-utils.c | 4 +-- hw/display/bochs-display.c | 2 +- hw/display/qxl.c | 2 +- hw/display/ssd0303.c | 2 +- hw/display/ssd0323.c | 2 +- hw/display/xlnx_dp.c | 2 +- hw/dma/omap_dma.c | 4 +-- hw/i2c/pm_smbus.c | 2 +- hw/i2c/pmbus_device.c | 2 +- hw/i2c/smbus_slave.c | 2 +- hw/i386/acpi-build.c | 4 +-- hw/i386/amd_iommu.c | 4 +-- hw/i386/intel_iommu.c | 4 +-- hw/i386/kvm/xen_xenstore.c | 2 +- hw/i386/kvm/xenstore_impl.c | 2 +- hw/i386/pc.c | 4 +-- hw/ide/ahci_internal.h | 4 +-- hw/ide/cmd646.c | 2 +- hw/ide/core.c | 2 +- hw/input/hid.c | 2 +- hw/input/tsc2005.c | 16 ++++++------ hw/intc/arm_gic.c | 4 +-- hw/intc/arm_gicv3_redist.c | 2 +- hw/intc/armv7m_nvic.c | 2 +- hw/intc/loongarch_extioi.c | 2 +- hw/intc/loongson_liointc.c | 2 +- hw/intc/omap_intc.c | 2 +- hw/intc/pnv_xive.c | 2 +- hw/intc/s390_flic_kvm.c | 2 +- hw/intc/spapr_xive.c | 2 +- hw/intc/spapr_xive_kvm.c | 6 ++--- hw/intc/xive.c | 2 +- hw/intc/xive2.c | 6 ++--- hw/ipmi/ipmi_bmc_extern.c | 2 +- hw/m68k/next-cube.c | 2 +- hw/m68k/next-kbd.c | 2 +- hw/m68k/virt.c | 2 +- hw/mem/cxl_type3.c | 6 ++--- hw/microblaze/petalogix_ml605_mmu.c | 2 +- hw/mips/malta.c | 2 +- hw/misc/allwinner-r40-dramc.c | 2 +- hw/misc/exynos4210_rng.c | 2 +- hw/misc/imx7_ccm.c | 2 +- hw/misc/mac_via.c | 2 +- hw/misc/stm32f2xx_syscfg.c | 4 +-- hw/misc/trace-events | 2 +- hw/misc/zynq_slcr.c | 2 +- hw/net/cadence_gem.c | 10 +++---- hw/net/dp8393x.c | 2 +- hw/net/e1000_regs.h | 2 +- hw/net/e1000x_regs.h | 2 +- hw/net/fsl_etsec/rings.c | 2 +- hw/net/igb_regs.h | 4 +-- hw/net/mcf_fec.c | 2 +- hw/net/rocker/rocker_fp.c | 2 +- hw/net/rtl8139.c | 2 +- hw/net/smc91c111.c | 2 +- hw/net/sungem.c | 2 +- hw/net/sunhme.c | 2 +- hw/net/virtio-net.c | 6 ++--- hw/net/vmxnet3.c | 2 +- hw/net/vmxnet3.h | 2 +- hw/nvme/ctrl.c | 6 ++--- hw/nvram/eeprom_at24c.c | 2 +- hw/nvram/fw_cfg.c | 2 +- hw/pci-bridge/cxl_downstream.c | 2 +- hw/pci-bridge/pci_expander_bridge.c | 2 +- hw/pci-host/bonito.c | 2 +- hw/pci-host/designware.c | 4 +-- hw/pci-host/dino.c | 2 +- hw/pci-host/gpex-acpi.c | 2 +- hw/pci-host/gt64120.c | 4 +-- hw/pci-host/pnv_phb.c | 2 +- hw/pci-host/pnv_phb3.c | 2 +- hw/pci-host/pnv_phb3_msi.c | 2 +- hw/pci-host/pnv_phb4.c | 6 ++--- hw/pci/pcie_aer.c | 2 +- hw/pci/shpc.c | 2 +- hw/ppc/ppc.c | 2 +- hw/ppc/prep_systemio.c | 2 +- hw/ppc/spapr.c | 8 +++--- hw/ppc/spapr_hcall.c | 2 +- hw/ppc/spapr_nvdimm.c | 4 +-- hw/ppc/spapr_pci_vfio.c | 6 ++--- hw/riscv/microchip_pfsoc.c | 2 +- hw/riscv/virt.c | 4 +-- hw/rtc/exynos4210_rtc.c | 2 +- hw/rx/rx62n.c | 2 +- hw/scsi/lsi53c895a.c | 2 +- hw/scsi/mfi.h | 2 +- hw/sd/sd.c | 2 +- hw/sd/sdhci.c | 2 +- hw/sensor/isl_pmbus_vr.c | 2 +- hw/sensor/max34451.c | 2 +- hw/sh4/sh7750_regs.h | 26 +++++++++---------- hw/smbios/smbios.c | 2 +- hw/sparc/sun4m_iommu.c | 8 +++--- hw/ssi/xilinx_spips.c | 6 ++--- hw/ssi/xlnx-versal-ospi.c | 2 +- hw/timer/etraxfs_timer.c | 2 +- hw/timer/i8254.c | 2 +- hw/timer/renesas_tmr.c | 2 +- hw/tpm/tpm_tis.h | 2 +- hw/tpm/tpm_tis_common.c | 2 +- hw/tpm/tpm_tis_i2c.c | 4 +-- hw/tpm/tpm_tis_isa.c | 2 +- hw/tpm/tpm_tis_sysbus.c | 2 +- hw/usb/ccid-card-emulated.c | 2 +- hw/usb/hcd-ehci.c | 6 ++--- hw/usb/hcd-ohci.c | 2 +- hw/usb/quirks.h | 2 +- hw/usb/redirect.c | 2 +- hw/usb/trace-events | 2 +- hw/usb/xen-usb.c | 2 +- hw/virtio/virtio-crypto.c | 4 +-- hw/virtio/virtio-mem.c | 2 +- hw/virtio/virtio.c | 2 +- hw/xen/xen_pvdev.c | 2 +- include/block/block_int-common.h | 2 +- include/chardev/char-fe.h | 4 +-- include/crypto/akcipher.h | 2 +- include/crypto/ivgen.h | 4 +-- include/elf.h | 4 +-- include/exec/memory.h | 2 +- include/hw/acpi/aml-build.h | 2 +- include/hw/acpi/pc-hotplug.h | 2 +- include/hw/acpi/vmgenid.h | 2 +- include/hw/arm/fsl-imx7.h | 2 +- include/hw/boards.h | 6 ++--- include/hw/char/avr_usart.h | 2 +- include/hw/clock.h | 2 +- include/hw/core/tcg-cpu-ops.h | 2 +- include/hw/cxl/cxl_device.h | 2 +- include/hw/hyperv/vmbus.h | 2 +- include/hw/i2c/npcm7xx_smbus.h | 2 +- include/hw/i386/topology.h | 2 +- include/hw/intc/armv7m_nvic.h | 2 +- include/hw/misc/auxbus.h | 2 +- include/hw/misc/macio/pmu.h | 2 +- include/hw/net/mii.h | 2 +- include/hw/pci-host/dino.h | 2 +- include/hw/pci/pcie_aer.h | 2 +- include/hw/ppc/openpic.h | 2 +- include/hw/ppc/spapr.h | 2 +- include/hw/riscv/riscv_hart.h | 2 +- include/hw/s390x/s390-pci-bus.h | 2 +- include/hw/s390x/sclp.h | 2 +- include/hw/ssi/xilinx_spips.h | 2 +- include/hw/virtio/virtio-net.h | 2 +- .../hw/xen/interface/arch-x86/xen-x86_64.h | 2 +- include/hw/xen/interface/arch-x86/xen.h | 2 +- include/hw/xen/interface/event_channel.h | 2 +- include/hw/xen/interface/grant_table.h | 2 +- include/hw/xen/interface/hvm/hvm_op.h | 2 +- include/hw/xen/interface/io/blkif.h | 6 ++--- include/hw/xen/interface/io/fbif.h | 2 +- include/hw/xen/interface/io/kbdif.h | 2 +- include/hw/xen/interface/memory.h | 2 +- include/hw/xen/interface/physdev.h | 4 +-- include/hw/xen/interface/sched.h | 2 +- include/hw/xen/interface/xen.h | 4 +-- include/io/channel-socket.h | 4 +-- include/io/task.h | 2 +- include/qemu/iova-tree.h | 4 +-- include/qemu/timer.h | 2 +- include/qemu/yank.h | 2 +- include/sysemu/cryptodev-vhost.h | 2 +- include/sysemu/cryptodev.h | 6 ++--- include/sysemu/iothread.h | 2 +- include/sysemu/stats.h | 2 +- include/sysemu/tpm_backend.h | 2 +- include/tcg/helper-info.h | 2 +- include/tcg/tcg.h | 4 +-- include/ui/kbd-state.h | 2 +- include/ui/spice-display.h | 2 +- include/user/safe-syscall.h | 2 +- linux-user/elfload.c | 2 +- linux-user/flatload.c | 2 +- linux-user/syscall.c | 6 ++--- migration/migration-stats.c | 2 +- migration/migration.h | 4 +-- migration/multifd-zlib.c | 2 +- migration/multifd-zstd.c | 2 +- migration/multifd.c | 2 +- migration/savevm.c | 2 +- migration/trace-events | 2 +- nbd/client-connection.c | 2 +- net/checksum.c | 4 +-- net/filter.c | 4 +-- net/vhost-vdpa.c | 8 +++--- qga/channel-posix.c | 2 +- qga/commands-posix-ssh.c | 2 +- qga/commands-posix.c | 2 +- qga/commands-win32.c | 4 +-- qga/main.c | 2 +- qga/vss-win32/install.cpp | 4 +-- scripts/checkpatch.pl | 4 +-- scripts/ci/gitlab-pipeline-status | 2 +- .../codeconverter/codeconverter/qom_macros.py | 2 +- scripts/oss-fuzz/minimize_qtest_trace.py | 8 +++--- scripts/performance/topN_callgrind.py | 2 +- scripts/performance/topN_perf.py | 2 +- scripts/qapi/gen.py | 2 +- scripts/qapi/pylintrc | 2 +- scripts/replay-dump.py | 2 +- scripts/simplebench/bench_block_job.py | 2 +- semihosting/config.c | 2 +- semihosting/syscalls.c | 4 +-- softmmu/icount.c | 2 +- softmmu/ioport.c | 2 +- stubs/colo.c | 2 +- target/alpha/cpu.h | 4 +-- target/alpha/translate.c | 2 +- target/arm/cpu.c | 2 +- target/arm/cpu.h | 2 +- target/arm/cpu64.c | 2 +- target/arm/helper.c | 4 +-- target/arm/tcg/m_helper.c | 2 +- target/arm/tcg/translate-a64.c | 4 +-- target/arm/tcg/translate-mve.c | 4 +-- target/arm/tcg/translate-sve.c | 2 +- target/arm/tcg/translate-vfp.c | 2 +- target/arm/tcg/vec_helper.c | 2 +- target/cris/helper.c | 6 ++--- target/cris/op_helper.c | 2 +- target/cris/translate.c | 16 ++++++------ target/hexagon/README | 2 +- target/hexagon/fma_emu.c | 2 +- target/hexagon/idef-parser/README.rst | 2 +- target/hexagon/idef-parser/idef-parser.h | 2 +- target/hexagon/idef-parser/parser-helpers.c | 6 ++--- target/hexagon/imported/alu.idef | 8 +++--- target/hexagon/imported/macros.def | 2 +- target/hexagon/imported/mmvec/ext.idef | 10 +++---- target/hppa/cpu.h | 4 +-- target/hppa/int_helper.c | 2 +- target/hppa/translate.c | 2 +- target/i386/cpu.c | 4 +-- target/i386/cpu.h | 4 +-- target/i386/hax/hax-interface.h | 4 +-- target/i386/hax/hax-windows.c | 2 +- target/i386/kvm/kvm.c | 4 +-- target/i386/kvm/xen-emu.c | 2 +- target/i386/machine.c | 4 +-- target/i386/tcg/translate.c | 8 +++--- target/loongarch/cpu-csr.h | 2 +- target/m68k/helper.c | 4 +-- target/microblaze/cpu.h | 2 +- target/mips/cpu-defs.c.inc | 2 +- target/mips/tcg/msa_helper.c | 12 ++++----- target/mips/tcg/mxu_translate.c | 6 ++--- target/openrisc/cpu.h | 2 +- target/openrisc/translate.c | 4 +-- target/ppc/cpu-models.h | 4 +-- target/ppc/cpu.h | 2 +- target/ppc/cpu_init.c | 4 +-- target/ppc/excp_helper.c | 14 +++++----- target/ppc/power8-pmu-regs.c.inc | 4 +-- target/ppc/translate/vmx-impl.c.inc | 6 ++--- target/riscv/cpu.h | 2 +- target/riscv/cpu_bits.h | 4 +-- target/riscv/csr.c | 4 +-- target/riscv/debug.c | 10 +++---- target/riscv/insn_trans/trans_rvf.c.inc | 4 +-- target/riscv/insn_trans/trans_rvv.c.inc | 4 +-- target/riscv/insn_trans/trans_rvzfh.c.inc | 4 +-- target/riscv/monitor.c | 2 +- target/rx/translate.c | 4 +-- target/s390x/cpu_features.c | 2 +- target/s390x/cpu_models.c | 2 +- target/s390x/tcg/fpu_helper.c | 2 +- target/s390x/tcg/insn-data.h.inc | 2 +- target/s390x/tcg/translate.c | 2 +- target/sparc/asi.h | 14 +++++----- target/tricore/csfr.h.inc | 2 +- target/tricore/helper.c | 2 +- target/tricore/translate.c | 8 +++--- tcg/aarch64/tcg-target.c.inc | 2 +- tcg/arm/tcg-target.c.inc | 4 +-- tcg/riscv/tcg-target.c.inc | 4 +-- tests/avocado/acpi-bits.py | 4 +-- .../avocado/acpi-bits/bits-tests/testacpi.py2 | 4 +-- tests/decode/err_pattern_group_ident2.decode | 2 +- tests/docker/common.rc | 2 +- tests/migration/guestperf-batch.py | 2 +- tests/migration/guestperf.py | 2 +- tests/plugin/mem.c | 2 +- tests/qapi-schema/bad-if-not.json | 2 +- tests/qemu-iotests/029 | 2 +- tests/qemu-iotests/040 | 8 +++--- tests/qemu-iotests/046 | 2 +- tests/qemu-iotests/059 | 2 +- tests/qemu-iotests/061 | 2 +- tests/qemu-iotests/071 | 2 +- tests/qemu-iotests/197 | 2 +- tests/qemu-iotests/215 | 2 +- tests/qemu-iotests/298 | 2 +- tests/qemu-iotests/pylintrc | 4 +-- tests/qtest/ahci-test.c | 2 +- tests/qtest/bcm2835-dma-test.c | 2 +- tests/qtest/bios-tables-test.c | 2 +- tests/qtest/ds1338-test.c | 2 +- tests/qtest/fuzz/generic_fuzz.c | 4 +-- tests/qtest/libqos/qgraph.c | 4 +-- tests/qtest/libqos/qgraph_internal.h | 2 +- tests/qtest/libqos/virtio-gpio.c | 2 +- tests/qtest/libqtest.c | 4 +-- tests/qtest/migration-test.c | 6 ++--- tests/qtest/npcm7xx_timer-test.c | 2 +- tests/qtest/tpm-emu.c | 2 +- tests/qtest/tpm-tests.c | 2 +- tests/qtest/tpm-tests.h | 2 +- tests/qtest/tpm-tis-i2c-test.c | 2 +- tests/qtest/tpm-tis-util.c | 2 +- tests/qtest/vhost-user-blk-test.c | 2 +- tests/qtest/virtio-net-test.c | 2 +- tests/qtest/vmgenid-test.c | 2 +- tests/tcg/Makefile.target | 4 +-- tests/tcg/aarch64/gdbstub/test-sve.py | 2 +- tests/tcg/aarch64/sme-outprod1.c | 2 +- tests/tcg/aarch64/system/boot.S | 6 ++--- tests/tcg/aarch64/system/semiheap.c | 2 +- tests/tcg/hexagon/fpstuff.c | 2 +- tests/tcg/hexagon/test_clobber.S | 2 +- tests/tcg/i386/system/boot.S | 2 +- tests/tcg/i386/x86.csv | 2 +- tests/tcg/multiarch/sha512.c | 2 +- .../multiarch/system/Makefile.softmmu-target | 2 +- tests/tcg/s390x/mvc.c | 2 +- tests/tcg/tricore/c/crt0-tc2x.S | 4 +-- tests/tcg/x86_64/system/boot.S | 4 +-- tests/tsan/suppressions.tsan | 2 +- tests/uefi-test-tools/Makefile | 2 +- tests/unit/check-qjson.c | 2 +- tests/unit/test-aio.c | 2 +- tests/unit/test-bdrv-graph-mod.c | 12 ++++----- tests/unit/test-crypto-secret.c | 2 +- tests/unit/test-qobject-input-visitor.c | 2 +- tests/unit/test-throttle.c | 4 +-- tests/unit/test-util-filemonitor.c | 2 +- tests/unit/test-xs-node.c | 2 +- tests/vm/Makefile.include | 2 +- tests/vm/ubuntuvm.py | 2 +- ui/cocoa.m | 2 +- ui/keymaps.h | 2 +- ui/sdl2-2d.c | 2 +- ui/sdl2.c | 2 +- ui/vnc-enc-tight.c | 2 +- ui/vnc-enc-zrle.c.inc | 2 +- ui/vnc-enc-zywrle.h | 4 +-- util/cpuinfo-aarch64.c | 4 +-- util/cpuinfo-i386.c | 4 +-- util/cpuinfo-ppc.c | 2 +- util/main-loop.c | 2 +- util/oslib-posix.c | 2 +- util/qdist.c | 2 +- util/qemu-progress.c | 2 +- util/qemu-sockets.c | 2 +- util/rcu.c | 2 +- 424 files changed, 642 insertions(+), 642 deletions(-)
Signature · 1 line
2.39.2
PATCH 1/29 tree-wide spelling fixes in comments and some messages: block
--- block.c | 2 +- block/block-copy.c | 4 ++-- block/export/vduse-blk.c | 2 +- block/export/vhost-user-blk-server.c | 2 +- block/export/vhost-user-blk-server.h | 2 +- block/file-posix.c | 8 ++++---- block/graph-lock.c | 2 +- block/io.c | 2 +- block/linux-aio.c | 2 +- block/mirror.c | 2 +- block/qcow2-refcount.c | 2 +- block/vhdx.c | 2 +- block/vhdx.h | 4 ++-- 13 files changed, 18 insertions(+), 18 deletions(-)
block.c +1 -1
@@ -7584,3 +7584,3 @@ int bdrv_try_change_aio_context(BlockDriverState *bs, AioContext *ctx,* Take care of checking that all nodes support changing AioContext -* and drain them, builing a linear list of callbacks to run if everything +* and drain them, building a linear list of callbacks to run if everything * is successful (the transaction itself).
block/block-copy.c +2 -2
@@ -69,3 +69,3 @@ typedef struct BlockCopyCallState {/* -* Fields that report information about return values and erros. +* Fields that report information about return values and errors. * Protected by lock in BlockCopyState.
@@ -464,3 +464,3 @@ static coroutine_fn int block_copy_task_run(AioTaskPool *pool,* -* No sync here: nor bitmap neighter intersecting requests handling, only copy. +* No sync here: nor bitmap neither intersecting requests handling, only copy. *
block/export/vduse-blk.c +1 -1
@@ -140,3 +140,3 @@ static void vduse_blk_enable_queue(VduseDev *dev, VduseVirtq *vq) on_vduse_vq_kick, NULL, NULL, NULL, vq); -/* Make sure we don't miss any kick afer reconnecting */ +/* Make sure we don't miss any kick after reconnecting */ eventfd_write (vduse_queue_get_fd (vq),1 );
block/export/vhost-user-blk-server.c +1 -1
@@ -1,3 +1,3 @@/* -* Sharing QEMU block devices via vhost-user protocal +* Sharing QEMU block devices via vhost-user protocol *
block/export/vhost-user-blk-server.h +1 -1
@@ -1,3 +1,3 @@/* -* Sharing QEMU block devices via vhost-user protocal +* Sharing QEMU block devices via vhost-user protocol *
block/file-posix.c +4 -4
@@ -1161,5 +1161,5 @@ static int raw_reopen_prepare(BDRVReopenState *state,* bdrv_reopen_multiple() .bdrv_reopen_prepare() callback called prior to -* permission update. Happily, permission update is always a part (a seprate -* stage) of bdrv_reopen_multiple() so we can rely on this fact and -* reconfigure fd in raw_check_perm(). +* permission update. Happily, permission update is always a part +* (a separate stage) of bdrv_reopen_multiple() so we can rely on this +* fact and reconfigure fd in raw_check_perm(). */
@@ -3378,3 +3378,3 @@ static void raw_account_discard(BDRVRawState *s, uint64_t nbytes, int ret)* offset can be any byte within the entire size of the device; -* nr_zones is the maxium number of sectors the command should operate on. +* nr_zones is the maximum number of sectors the command should operate on. */
block/graph-lock.c +1 -1
@@ -97,3 +97,3 @@ static uint32_t reader_count(void) -/* rd can temporarly be negative, but the total will *always* be >= 0 */ +/* rd can temporarily be negative, but the total will *always* be >= 0 */ rd = orphaned_reader_count;
block/io.c +1 -1
@@ -344,3 +344,3 @@ static void coroutine_fn bdrv_co_yield_to_drain(BlockDriverState *bs, -/* Reaquire the AioContext of bs if we dropped it */ +/* Reacquire the AioContext of bs if we dropped it */ if (ctx != co_ctx) {
block/linux-aio.c +1 -1
@@ -229,3 +229,3 @@ static void qemu_laio_process_completions(LinuxAioState *s)* by setting event_max to zero, upper level will then jump out of it's -* own `for` loop. If we are the last all counters droped to zero. */ +* own `for` loop. If we are the last all counters dropped to zero. */ s->event_max =0 ;
block/mirror.c +1 -1
@@ -504,3 +504,3 @@ static void coroutine_fn mirror_iteration(MirrorBlockJob *s) -/* Find the number of consective dirty chunks following the first dirty +/* Find the number of consecutive dirty chunks following the first dirty * one, and wait for in flight requests in them. */
block/qcow2-refcount.c +1 -1
@@ -2647,3 +2647,3 @@ rebuild_refcount_structure(BlockDriverState *bs, BdrvCheckResult *res,* (This loop will terminate, because with every cluster the -* reftable grows, it can accomodate a multitude of more refcounts, +* reftable grows, it can accommodate a multitude of more refcounts, * so that at some point this must be able to cover the reftable
block/vhdx.c +1 -1
@@ -1079,3 +1079,3 @@ static int vhdx_open(BlockDriverState *bs, QDict *options, int flags, -/* endian convert populated BAT field entires */ +/* endian convert populated BAT field entries */ for (i =0 ; i < s->bat_entries; i++) {
block/vhdx.h +2 -2
@@ -214,3 +214,3 @@ typedef struct QEMU_PACKED VHDXLogDataSector {see the data descriptor field for the -other mising bytes */ +other missing bytes */ uint32_t sequence_low;/* 4 LSB of 8 byte sequence_number */
@@ -259,3 +259,3 @@ typedef struct QEMU_PACKED VHDXMetadataTableHeader {#define VHDX_META_FLAGS_IS_VIRTUAL_DISK 0x02/* virtual disk metadata if set, -otherwise file metdata */ +otherwise file metadata */ #define VHDX_META_FLAGS_IS_REQUIRED 0x04/* parse must understand this
Signature · 1 line
2.39.2
Re: [PATCH, trivial 01/29] tree-wide spelling fixes in comments and some messages: block
14.07.2023 14:38, Michael Tokarev:
block/block-copy.c static coroutine_fn int block_copy_task_run(AioTaskPool *pool, · line 465
Quoted 11 lines
block/block-copy.c +2
-2@@ -69,3 +69,3 @@ typedef struct BlockCopyCallState {/* -* Fields that report information about return values and erros. +* Fields that report information about return values and errors. * Protected by lock in BlockCopyState. @@ -464,3 +464,3 @@ static coroutine_fn int block_copy_task_run(AioTaskPool *pool,* -* No sync here: nor bitmap neighter intersecting requests handling, only copy. +* No sync here: nor bitmap neither intersecting requests handling, only copy.
This should be reworded too. Fixed in git:
No sync here: neither bitmap nor intersecting requests handling, only copy.
/mjt
PATCH 2/29 tree-wide spelling fixes in comments and some messages: bsd-user
In reply to Michael Tokarev--- bsd-user/errno_defs.h | 2 +- bsd-user/freebsd/target_os_siginfo.h | 2 +- bsd-user/freebsd/target_os_stack.h | 4 ++-- bsd-user/freebsd/target_os_user.h | 2 +- bsd-user/qemu.h | 2 +- bsd-user/signal-common.h | 4 ++-- bsd-user/signal.c | 6 +++--- 7 files changed, 11 insertions(+), 11 deletions(-)
bsd-user/errno_defs.h +1 -1
@@ -151,3 +151,3 @@/* Internal errors: */ -#define TARGET_EJUSTRETURN 254/* Just return without modifing regs */ +#define TARGET_EJUSTRETURN 254/* Just return without modifying regs */ #define TARGET_ERESTART 255/* Restart syscall */
bsd-user/freebsd/target_os_siginfo.h +1 -1
@@ -74,3 +74,3 @@ typedef struct target_siginfo { -/* SIGPOLL -- Not really genreated in FreeBSD ??? */ +/* SIGPOLL -- Not really generated in FreeBSD ??? */ struct {
bsd-user/freebsd/target_os_stack.h +2 -2
@@ -27,3 +27,3 @@/* -* The inital FreeBSD stack is as follows: +* The initial FreeBSD stack is as follows: * (see kern/kern_exec.c exec_copyout_strings() )
@@ -61,3 +61,3 @@ static inline int setup_initial_stack(struct bsd_binprm *bprm, -/* Add machine depedent sigcode. */ +/* Add machine dependent sigcode. */ p -=TARGET_SZSIGCODE ;
bsd-user/freebsd/target_os_user.h +1 -1
@@ -28,3 +28,3 @@ struct target_priority {uint8_t pri_level;/* Normal priority level. */ -uint8_t pri_native;/* Priority before propogation. */ +uint8_t pri_native;/* Priority before propagation. */ uint8_t pri_user;/* User priority based on p_cpu and p_nice. */
bsd-user/qemu.h +1 -1
@@ -120,3 +120,3 @@ extern const char *qemu_uname_release;* and envelope for the new program. 256k should suffice for a reasonable -* maxiumum env+arg in 32-bit environments, bump it up to 512k for !ILP32 +* maximum env+arg in 32-bit environments, bump it up to 512k for !ILP32 * platforms.
bsd-user/signal-common.h +2 -2
@@ -51,3 +51,3 @@ void target_to_host_sigset(sigset_t *d, const target_sigset_t *s);* either within host siginfo_t or in target_siginfo structures which we get -* from the guest userspace program. Linux kenrels use this internally, but BSD +* from the guest userspace program. Linux kernels use this internally, but BSD * kernels don't do this, but its a useful abstraction.
@@ -55,3 +55,3 @@ void target_to_host_sigset(sigset_t *d, const target_sigset_t *s);* The linux-user version of this uses the top 16 bits, but FreeBSD's SI_USER -* and other signal indepenent SI_ codes have bit 16 set, so we only use the top +* and other signal independent SI_ codes have bit 16 set, so we only use the top * byte instead.
bsd-user/signal.c +3 -3
@@ -46,3 +46,3 @@ static inline int sas_ss_flags(TaskState *ts, unsigned long sp)/* -* The BSD ABIs use the same singal numbers across all the CPU architectures, so +* The BSD ABIs use the same signal numbers across all the CPU architectures, so * (unlike Linux) these functions are just the identity mapping. This might not
@@ -243,3 +243,3 @@ static inline void host_to_target_siginfo_noswap(target_siginfo_t *tinfo,* Unsure that this can actually be generated, and our support for -* capsicum is somewhere between weak and non-existant, but if we get +* capsicum is somewhere between weak and non-existent, but if we get * one, then we know what to save.
@@ -321,3 +321,3 @@ int block_signals(void)* further guest code before unblocking signals in -* process_pending_signals(). We depend on the FreeBSD behaivor here where +* process_pending_signals(). We depend on the FreeBSD behavior here where * this will only affect this thread's signal mask. We don't use
Signature · 1 line
2.39.2
PATCH 1/1 treewide: spelling fixes in comments and some strings
In reply to Michael Tokarev--- accel/tcg/tb-maint.c | 2 +- audio/mixeng.h | 2 +- backends/tpm/tpm_ioctl.h | 2 +- block.c | 2 +- block/block-copy.c | 4 +-- block/export/vduse-blk.c | 2 +- block/export/vhost-user-blk-server.c | 2 +- block/export/vhost-user-blk-server.h | 2 +- block/file-posix.c | 8 +++--- block/graph-lock.c | 2 +- block/io.c | 2 +- block/linux-aio.c | 2 +- block/mirror.c | 2 +- block/qcow2-refcount.c | 2 +- block/vhdx.c | 2 +- block/vhdx.h | 4 +-- bsd-user/errno_defs.h | 2 +- bsd-user/freebsd/target_os_siginfo.h | 2 +- bsd-user/freebsd/target_os_stack.h | 4 +-- bsd-user/freebsd/target_os_user.h | 2 +- bsd-user/qemu.h | 2 +- bsd-user/signal-common.h | 4 +-- bsd-user/signal.c | 6 ++--- chardev/char-socket.c | 6 ++--- chardev/char.c | 2 +- contrib/plugins/cache.c | 2 +- contrib/plugins/lockstep.c | 2 +- crypto/afalg.c | 2 +- crypto/block-luks.c | 6 ++--- crypto/der.c | 2 +- crypto/der.h | 6 ++--- docs/about/deprecated.rst | 2 +- docs/devel/qapi-code-gen.rst | 2 +- docs/devel/qom.rst | 2 +- docs/system/arm/palm.rst | 2 +- docs/system/arm/xscale.rst | 2 +- docs/system/devices/can.rst | 6 ++--- docs/system/devices/nvme.rst | 2 +- host/include/aarch64/host/cpuinfo.h | 2 +- host/include/generic/host/cpuinfo.h | 2 +- host/include/i386/host/cpuinfo.h | 2 +- host/include/ppc/host/cpuinfo.h | 2 +- hw/9pfs/9p-local.c | 8 +++--- hw/9pfs/9p-proxy.c | 2 +- hw/9pfs/9p-synth.c | 2 +- hw/9pfs/9p-util.h | 2 +- hw/9pfs/9p.c | 4 +-- hw/9pfs/9p.h | 2 +- hw/acpi/aml-build.c | 6 ++--- hw/acpi/hmat.c | 2 +- hw/acpi/nvdimm.c | 2 +- hw/arm/aspeed.c | 2 +- hw/arm/mps2-tz.c | 2 +- hw/arm/versatilepb.c | 2 +- hw/audio/fmopl.c | 8 +++--- hw/audio/fmopl.h | 2 +- hw/audio/gusemu_hal.c | 4 +-- hw/audio/intel-hda-defs.h | 4 +-- hw/block/hd-geometry.c | 4 +-- hw/block/pflash_cfi01.c | 2 +- hw/char/cadence_uart.c | 2 +- hw/char/imx_serial.c | 2 +- hw/char/serial.c | 2 +- hw/core/generic-loader.c | 4 +-- hw/core/loader.c | 4 +-- hw/core/machine.c | 2 +- hw/core/qdev-properties-system.c | 2 +- hw/cpu/a15mpcore.c | 2 +- hw/cxl/cxl-events.c | 2 +- hw/cxl/cxl-host.c | 2 +- hw/cxl/cxl-mailbox-utils.c | 4 +-- hw/display/bochs-display.c | 2 +- hw/display/qxl.c | 2 +- hw/display/ssd0303.c | 2 +- hw/display/ssd0323.c | 2 +- hw/display/xlnx_dp.c | 2 +- hw/dma/omap_dma.c | 4 +-- hw/i2c/pm_smbus.c | 2 +- hw/i2c/pmbus_device.c | 2 +- hw/i2c/smbus_slave.c | 2 +- hw/i386/acpi-build.c | 4 +-- hw/i386/amd_iommu.c | 4 +-- hw/i386/intel_iommu.c | 4 +-- hw/i386/kvm/xen_xenstore.c | 2 +- hw/i386/kvm/xenstore_impl.c | 2 +- hw/i386/pc.c | 4 +-- hw/ide/ahci_internal.h | 4 +-- hw/ide/cmd646.c | 2 +- hw/ide/core.c | 2 +- hw/input/hid.c | 2 +- hw/input/tsc2005.c | 16 ++++++------ hw/intc/arm_gic.c | 4 +-- hw/intc/arm_gicv3_redist.c | 2 +- hw/intc/armv7m_nvic.c | 2 +- hw/intc/loongarch_extioi.c | 2 +- hw/intc/loongson_liointc.c | 2 +- hw/intc/omap_intc.c | 2 +- hw/intc/pnv_xive.c | 2 +- hw/intc/s390_flic_kvm.c | 2 +- hw/intc/spapr_xive.c | 2 +- hw/intc/spapr_xive_kvm.c | 6 ++--- hw/intc/xive.c | 2 +- hw/intc/xive2.c | 6 ++--- hw/ipmi/ipmi_bmc_extern.c | 2 +- hw/m68k/next-cube.c | 2 +- hw/m68k/next-kbd.c | 2 +- hw/m68k/virt.c | 2 +- hw/mem/cxl_type3.c | 6 ++--- hw/microblaze/petalogix_ml605_mmu.c | 2 +- hw/mips/malta.c | 2 +- hw/misc/allwinner-r40-dramc.c | 2 +- hw/misc/exynos4210_rng.c | 2 +- hw/misc/imx7_ccm.c | 2 +- hw/misc/mac_via.c | 2 +- hw/misc/stm32f2xx_syscfg.c | 4 +-- hw/misc/trace-events | 2 +- hw/misc/zynq_slcr.c | 2 +- hw/net/cadence_gem.c | 10 +++---- hw/net/dp8393x.c | 2 +- hw/net/e1000_regs.h | 2 +- hw/net/e1000x_regs.h | 2 +- hw/net/fsl_etsec/rings.c | 2 +- hw/net/igb_regs.h | 4 +-- hw/net/mcf_fec.c | 2 +- hw/net/rocker/rocker_fp.c | 2 +- hw/net/rtl8139.c | 2 +- hw/net/smc91c111.c | 2 +- hw/net/sungem.c | 2 +- hw/net/sunhme.c | 2 +- hw/net/virtio-net.c | 6 ++--- hw/net/vmxnet3.c | 2 +- hw/net/vmxnet3.h | 2 +- hw/nvme/ctrl.c | 6 ++--- hw/nvram/eeprom_at24c.c | 2 +- hw/nvram/fw_cfg.c | 2 +- hw/pci-bridge/cxl_downstream.c | 2 +- hw/pci-bridge/pci_expander_bridge.c | 2 +- hw/pci-host/bonito.c | 2 +- hw/pci-host/designware.c | 4 +-- hw/pci-host/dino.c | 2 +- hw/pci-host/gpex-acpi.c | 4 +-- hw/pci-host/gt64120.c | 4 +-- hw/pci-host/pnv_phb.c | 2 +- hw/pci-host/pnv_phb3.c | 2 +- hw/pci-host/pnv_phb3_msi.c | 2 +- hw/pci-host/pnv_phb4.c | 6 ++--- hw/pci-host/sabre.c | 2 +- hw/pci/pcie_aer.c | 2 +- hw/pci/shpc.c | 2 +- hw/ppc/ppc.c | 2 +- hw/ppc/prep_systemio.c | 2 +- hw/ppc/spapr.c | 8 +++--- hw/ppc/spapr_hcall.c | 2 +- hw/ppc/spapr_nvdimm.c | 4 +-- hw/ppc/spapr_pci_vfio.c | 6 ++--- hw/remote/machine.c | 2 +- hw/riscv/microchip_pfsoc.c | 2 +- hw/riscv/virt.c | 4 +-- hw/rtc/exynos4210_rtc.c | 2 +- hw/rx/rx62n.c | 2 +- hw/scsi/lsi53c895a.c | 2 +- hw/scsi/mfi.h | 2 +- hw/sd/sd.c | 2 +- hw/sd/sdhci.c | 2 +- hw/sensor/isl_pmbus_vr.c | 2 +- hw/sensor/max34451.c | 2 +- hw/sh4/sh7750_regs.h | 26 +++++++++---------- hw/smbios/smbios.c | 2 +- hw/sparc/sun4m_iommu.c | 8 +++--- hw/ssi/xilinx_spips.c | 6 ++--- hw/ssi/xlnx-versal-ospi.c | 2 +- hw/timer/etraxfs_timer.c | 2 +- hw/timer/i8254.c | 2 +- hw/timer/renesas_tmr.c | 2 +- hw/tpm/tpm_tis.h | 2 +- hw/tpm/tpm_tis_common.c | 2 +- hw/tpm/tpm_tis_i2c.c | 4 +-- hw/tpm/tpm_tis_isa.c | 2 +- hw/tpm/tpm_tis_sysbus.c | 2 +- hw/usb/ccid-card-emulated.c | 2 +- hw/usb/hcd-ehci.c | 6 ++--- hw/usb/hcd-ohci.c | 2 +- hw/usb/quirks.h | 2 +- hw/usb/redirect.c | 2 +- hw/usb/trace-events | 2 +- hw/usb/xen-usb.c | 2 +- hw/virtio/virtio-crypto.c | 4 +-- hw/virtio/virtio-mem.c | 2 +- hw/virtio/virtio.c | 2 +- hw/xen/xen_pvdev.c | 2 +- include/block/block_int-common.h | 2 +- include/chardev/char-fe.h | 4 +-- include/crypto/akcipher.h | 2 +- include/crypto/ivgen.h | 4 +-- include/elf.h | 4 +-- include/exec/memory.h | 2 +- include/hw/acpi/aml-build.h | 2 +- include/hw/acpi/pc-hotplug.h | 2 +- include/hw/acpi/vmgenid.h | 2 +- include/hw/arm/fsl-imx7.h | 2 +- include/hw/boards.h | 6 ++--- include/hw/char/avr_usart.h | 2 +- include/hw/clock.h | 2 +- include/hw/core/tcg-cpu-ops.h | 2 +- include/hw/cxl/cxl_device.h | 2 +- include/hw/hyperv/vmbus.h | 2 +- include/hw/i2c/npcm7xx_smbus.h | 2 +- include/hw/i386/topology.h | 2 +- include/hw/intc/armv7m_nvic.h | 2 +- include/hw/misc/auxbus.h | 2 +- include/hw/misc/macio/pmu.h | 2 +- include/hw/net/mii.h | 2 +- include/hw/pci-host/dino.h | 2 +- include/hw/pci/pcie_aer.h | 2 +- include/hw/ppc/openpic.h | 2 +- include/hw/ppc/spapr.h | 2 +- include/hw/qdev-core.h | 2 +- include/hw/riscv/riscv_hart.h | 2 +- include/hw/s390x/s390-pci-bus.h | 2 +- include/hw/s390x/sclp.h | 2 +- include/hw/ssi/xilinx_spips.h | 2 +- include/hw/virtio/virtio-net.h | 2 +- .../hw/xen/interface/arch-x86/xen-x86_64.h | 2 +- include/hw/xen/interface/arch-x86/xen.h | 2 +- include/hw/xen/interface/event_channel.h | 2 +- include/hw/xen/interface/grant_table.h | 2 +- include/hw/xen/interface/hvm/hvm_op.h | 2 +- include/hw/xen/interface/io/blkif.h | 6 ++--- include/hw/xen/interface/io/fbif.h | 2 +- include/hw/xen/interface/io/kbdif.h | 2 +- include/hw/xen/interface/memory.h | 2 +- include/hw/xen/interface/physdev.h | 4 +-- include/hw/xen/interface/sched.h | 2 +- include/hw/xen/interface/xen.h | 4 +-- include/io/channel-socket.h | 4 +-- include/io/task.h | 2 +- include/qemu/iova-tree.h | 4 +-- include/qemu/timer.h | 2 +- include/qemu/yank.h | 2 +- include/standard-headers/drm/drm_fourcc.h | 8 +++--- include/standard-headers/linux/ethtool.h | 2 +- .../standard-headers/linux/virtio_console.h | 2 +- include/standard-headers/linux/virtio_i2c.h | 2 +- include/standard-headers/linux/virtio_net.h | 4 +-- include/sysemu/cryptodev-vhost.h | 2 +- include/sysemu/cryptodev.h | 6 ++--- include/sysemu/iothread.h | 2 +- include/sysemu/stats.h | 2 +- include/sysemu/tpm_backend.h | 2 +- include/tcg/helper-info.h | 2 +- include/tcg/tcg.h | 4 +-- include/ui/kbd-state.h | 2 +- include/ui/spice-display.h | 2 +- include/user/safe-syscall.h | 2 +- linux-user/elfload.c | 2 +- linux-user/flatload.c | 2 +- linux-user/syscall.c | 6 ++--- migration/migration-stats.c | 2 +- migration/migration.h | 4 +-- migration/multifd-zlib.c | 2 +- migration/multifd-zstd.c | 2 +- migration/multifd.c | 2 +- migration/savevm.c | 2 +- migration/trace-events | 2 +- nbd/client-connection.c | 2 +- net/checksum.c | 4 +-- net/filter.c | 4 +-- net/vhost-vdpa.c | 8 +++--- qga/channel-posix.c | 2 +- qga/commands-posix-ssh.c | 2 +- qga/commands-posix.c | 2 +- qga/commands-win32.c | 4 +-- qga/main.c | 2 +- qga/vss-win32/install.cpp | 4 +-- scripts/checkpatch.pl | 4 +-- scripts/ci/gitlab-pipeline-status | 2 +- .../codeconverter/codeconverter/qom_macros.py | 2 +- scripts/oss-fuzz/minimize_qtest_trace.py | 8 +++--- scripts/performance/topN_callgrind.py | 2 +- scripts/performance/topN_perf.py | 2 +- scripts/qapi/gen.py | 2 +- scripts/qapi/pylintrc | 2 +- scripts/replay-dump.py | 2 +- scripts/simplebench/bench_block_job.py | 2 +- semihosting/config.c | 2 +- semihosting/syscalls.c | 4 +-- softmmu/icount.c | 2 +- softmmu/ioport.c | 2 +- stubs/colo.c | 2 +- target/alpha/cpu.h | 4 +-- target/alpha/translate.c | 2 +- target/arm/cpu.c | 2 +- target/arm/cpu.h | 2 +- target/arm/cpu64.c | 2 +- target/arm/helper.c | 4 +-- target/arm/tcg/m_helper.c | 2 +- target/arm/tcg/translate-a64.c | 4 +-- target/arm/tcg/translate-mve.c | 4 +-- target/arm/tcg/translate-sve.c | 2 +- target/arm/tcg/translate-vfp.c | 2 +- target/arm/tcg/vec_helper.c | 2 +- target/cris/helper.c | 8 +++--- target/cris/op_helper.c | 2 +- target/cris/translate.c | 16 ++++++------ target/hexagon/README | 2 +- target/hexagon/fma_emu.c | 2 +- target/hexagon/idef-parser/README.rst | 2 +- target/hexagon/idef-parser/idef-parser.h | 2 +- target/hexagon/idef-parser/parser-helpers.c | 6 ++--- target/hexagon/imported/alu.idef | 8 +++--- target/hexagon/imported/macros.def | 2 +- target/hexagon/imported/mmvec/ext.idef | 10 +++---- target/hppa/cpu.h | 4 +-- target/hppa/int_helper.c | 2 +- target/hppa/translate.c | 2 +- target/i386/cpu.c | 4 +-- target/i386/cpu.h | 4 +-- target/i386/hax/hax-interface.h | 4 +-- target/i386/hax/hax-windows.c | 2 +- target/i386/kvm/kvm.c | 4 +-- target/i386/kvm/xen-emu.c | 2 +- target/i386/machine.c | 4 +-- target/i386/tcg/translate.c | 8 +++--- target/loongarch/cpu-csr.h | 2 +- target/m68k/helper.c | 4 +-- target/microblaze/cpu.h | 2 +- target/mips/cpu-defs.c.inc | 2 +- target/mips/tcg/msa_helper.c | 12 ++++----- target/mips/tcg/mxu_translate.c | 6 ++--- target/openrisc/cpu.h | 2 +- target/openrisc/translate.c | 4 +-- target/ppc/cpu-models.h | 4 +-- target/ppc/cpu.h | 2 +- target/ppc/cpu_init.c | 4 +-- target/ppc/excp_helper.c | 14 +++++----- target/ppc/power8-pmu-regs.c.inc | 4 +-- target/ppc/translate/vmx-impl.c.inc | 6 ++--- target/riscv/cpu.h | 2 +- target/riscv/cpu_bits.h | 4 +-- target/riscv/csr.c | 4 +-- target/riscv/debug.c | 10 +++---- target/riscv/insn_trans/trans_rvf.c.inc | 4 +-- target/riscv/insn_trans/trans_rvv.c.inc | 4 +-- target/riscv/insn_trans/trans_rvzfh.c.inc | 4 +-- target/riscv/monitor.c | 2 +- target/rx/translate.c | 4 +-- target/s390x/cpu_features.c | 2 +- target/s390x/cpu_models.c | 2 +- target/s390x/tcg/fpu_helper.c | 2 +- target/s390x/tcg/insn-data.h.inc | 2 +- target/s390x/tcg/translate.c | 2 +- target/sparc/asi.h | 14 +++++----- target/tricore/csfr.h.inc | 2 +- target/tricore/helper.c | 2 +- target/tricore/translate.c | 8 +++--- tcg/aarch64/tcg-target.c.inc | 2 +- tcg/arm/tcg-target.c.inc | 4 +-- tcg/riscv/tcg-target.c.inc | 4 +-- tests/avocado/acpi-bits.py | 4 +-- .../avocado/acpi-bits/bits-tests/testacpi.py2 | 4 +-- tests/decode/err_pattern_group_ident2.decode | 2 +- tests/docker/common.rc | 2 +- tests/migration/guestperf-batch.py | 2 +- tests/migration/guestperf.py | 2 +- tests/plugin/mem.c | 2 +- tests/qapi-schema/bad-if-not.json | 2 +- tests/qemu-iotests/029 | 2 +- tests/qemu-iotests/040 | 8 +++--- tests/qemu-iotests/046 | 2 +- tests/qemu-iotests/059 | 2 +- tests/qemu-iotests/061 | 2 +- tests/qemu-iotests/071 | 2 +- tests/qemu-iotests/197 | 2 +- tests/qemu-iotests/215 | 2 +- tests/qemu-iotests/298 | 2 +- tests/qemu-iotests/pylintrc | 4 +-- tests/qtest/ahci-test.c | 2 +- tests/qtest/bcm2835-dma-test.c | 2 +- tests/qtest/bios-tables-test.c | 2 +- tests/qtest/ds1338-test.c | 2 +- tests/qtest/fuzz/generic_fuzz.c | 4 +-- tests/qtest/libqos/qgraph.c | 4 +-- tests/qtest/libqos/qgraph_internal.h | 2 +- tests/qtest/libqos/virtio-gpio.c | 2 +- tests/qtest/libqtest.c | 4 +-- tests/qtest/migration-test.c | 6 ++--- tests/qtest/npcm7xx_timer-test.c | 2 +- tests/qtest/tpm-emu.c | 2 +- tests/qtest/tpm-tests.c | 2 +- tests/qtest/tpm-tests.h | 2 +- tests/qtest/tpm-tis-i2c-test.c | 2 +- tests/qtest/tpm-tis-util.c | 2 +- tests/qtest/vhost-user-blk-test.c | 2 +- tests/qtest/virtio-net-test.c | 2 +- tests/qtest/vmgenid-test.c | 2 +- tests/tcg/Makefile.target | 4 +-- tests/tcg/aarch64/gdbstub/test-sve.py | 2 +- tests/tcg/aarch64/sme-outprod1.c | 2 +- tests/tcg/aarch64/system/boot.S | 6 ++--- tests/tcg/aarch64/system/semiheap.c | 2 +- tests/tcg/hexagon/fpstuff.c | 2 +- tests/tcg/hexagon/test_clobber.S | 2 +- tests/tcg/i386/system/boot.S | 2 +- tests/tcg/i386/x86.csv | 2 +- tests/tcg/multiarch/sha512.c | 2 +- .../multiarch/system/Makefile.softmmu-target | 2 +- tests/tcg/s390x/mvc.c | 2 +- tests/tcg/tricore/c/crt0-tc2x.S | 4 +-- tests/tcg/x86_64/system/boot.S | 4 +-- tests/tsan/suppressions.tsan | 2 +- tests/uefi-test-tools/Makefile | 2 +- tests/unit/check-qjson.c | 2 +- tests/unit/test-aio.c | 2 +- tests/unit/test-bdrv-graph-mod.c | 12 ++++----- tests/unit/test-crypto-secret.c | 2 +- tests/unit/test-qobject-input-visitor.c | 2 +- tests/unit/test-throttle.c | 4 +-- tests/unit/test-util-filemonitor.c | 2 +- tests/unit/test-xs-node.c | 2 +- tests/vm/Makefile.include | 2 +- tests/vm/ubuntuvm.py | 2 +- ui/cocoa.m | 2 +- ui/keymaps.h | 2 +- ui/sdl2-2d.c | 2 +- ui/sdl2.c | 2 +- ui/vnc-enc-tight.c | 2 +- ui/vnc-enc-zrle.c.inc | 2 +- ui/vnc-enc-zywrle.h | 4 +-- util/cpuinfo-aarch64.c | 4 +-- util/cpuinfo-i386.c | 4 +-- util/cpuinfo-ppc.c | 2 +- util/main-loop.c | 2 +- util/oslib-posix.c | 2 +- util/qdist.c | 2 +- util/qemu-progress.c | 2 +- util/qemu-sockets.c | 2 +- util/rcu.c | 2 +- 437 files changed, 663 insertions(+), 663 deletions(-)
accel/tcg/tb-maint.c +1 -1
@@ -1,5 +1,5 @@/* -* Translation Block Maintaince +* Translation Block Maintenance * * Copyright (c) 2003 Fabrice Bellard *
audio/mixeng.h +1 -1
@@ -38,7 +38,7 @@ typedef struct st_sample st_sample;typedef void (t_sample ) (struct st_sample *dst,const void *src,int samples);typedef void (f_sample ) (void *dst,const struct st_sample *src,int samples); -/* indices: [stereo][signed][swap endiannes][8, 16 or 32-bits] */ +/* indices: [stereo][signed][swap endianness][8, 16 or 32-bits] */ extern t_sample *mixeng_conv[2 ][2 ][2 ][3 ];extern f_sample *mixeng_clip[2 ][2 ][2 ][3 ];
backends/tpm/tpm_ioctl.h +1 -1
@@ -238,7 +238,7 @@ struct ptm_lockstorage { } req;/* request */ struct {ptm_res tpm_result; - } resp;/* reponse */ + } resp;/* response */ } u; };
block.c +1 -1
@@ -7582,7 +7582,7 @@ int bdrv_try_change_aio_context(BlockDriverState *bs, AioContext *ctx,/* * Recursion phase: go through all nodes of the graph. * Take care of checking that all nodes support changing AioContext -* and drain them, builing a linear list of callbacks to run if everything +* and drain them, building a linear list of callbacks to run if everything * is successful (the transaction itself). */ tran =tran_new ();
block/block-copy.c +2 -2
@@ -67,7 +67,7 @@ typedef struct BlockCopyCallState {QLIST_ENTRY (BlockCopyCallState) list;/* -* Fields that report information about return values and erros. +* Fields that report information about return values and errors. * Protected by lock in BlockCopyState. */ bool error_is_read;
@@ -462,7 +462,7 @@ static coroutine_fn int block_copy_task_run(AioTaskPool *pool,* Do copy of cluster-aligned chunk. Requested region is allowed to exceed * s->len only to cover last cluster when s->len is not aligned to clusters. * -* No sync here: nor bitmap neighter intersecting requests handling, only copy. +* No sync here: nor bitmap neither intersecting requests handling, only copy. * * @method is an in-out argument, so that copy_range can be either extended to * a full-size buffer or disabled if the copy_range attempt fails. The output
block/export/vduse-blk.c +1 -1
@@ -138,7 +138,7 @@ static void vduse_blk_enable_queue(VduseDev *dev, VduseVirtq *vq)aio_set_fd_handler (vblk_exp->export.ctx,vduse_queue_get_fd (vq), on_vduse_vq_kick,NULL ,NULL ,NULL , vq); -/* Make sure we don't miss any kick afer reconnecting */ +/* Make sure we don't miss any kick after reconnecting */ eventfd_write (vduse_queue_get_fd (vq),1 ); }
block/export/vhost-user-blk-server.c +1 -1
@@ -1,5 +1,5 @@/* -* Sharing QEMU block devices via vhost-user protocal +* Sharing QEMU block devices via vhost-user protocol * * Parts of the code based on nbd/server.c. *
block/export/vhost-user-blk-server.h +1 -1
@@ -1,5 +1,5 @@/* -* Sharing QEMU block devices via vhost-user protocal +* Sharing QEMU block devices via vhost-user protocol * * Copyright (c) Coiby Xu <[email protected]>. * Copyright (c) 2020 Red Hat, Inc.
block/file-posix.c +4 -4
@@ -1159,9 +1159,9 @@ static int raw_reopen_prepare(BDRVReopenState *state,* As part of reopen prepare we also want to create new fd by * raw_reconfigure_getfd(). But it wants updated "perm", when in * bdrv_reopen_multiple() .bdrv_reopen_prepare() callback called prior to -* permission update. Happily, permission update is always a part (a seprate -* stage) of bdrv_reopen_multiple() so we can rely on this fact and -* reconfigure fd in raw_check_perm(). +* permission update. Happily, permission update is always a part +* (a separate stage) of bdrv_reopen_multiple() so we can rely on this +* fact and reconfigure fd in raw_check_perm(). */ s->reopen_state = state;
@@ -3376,7 +3376,7 @@ static void raw_account_discard(BDRVRawState *s, uint64_t nbytes, int ret)* of an array of zone descriptors. * zones is an array of zone descriptors to hold zone information on reply; * offset can be any byte within the entire size of the device; -* nr_zones is the maxium number of sectors the command should operate on. +* nr_zones is the maximum number of sectors the command should operate on. */ #if defined(CONFIG_BLKZONED ) static int coroutine_fn raw_co_zone_report(BlockDriverState *bs, int64_t offset,
block/graph-lock.c +1 -1
@@ -95,7 +95,7 @@ static uint32_t reader_count(void)QEMU_LOCK_GUARD (&aio_context_list_lock); -/* rd can temporarly be negative, but the total will *always* be >= 0 */ +/* rd can temporarily be negative, but the total will *always* be >= 0 */ rd = orphaned_reader_count; QTAILQ_FOREACH(brdv_graph, &aio_context_list, next_aio) { rd +=qatomic_read (&brdv_graph->reader_count);
block/io.c +1 -1
@@ -342,7 +342,7 @@ static void coroutine_fn bdrv_co_yield_to_drain(BlockDriverState *bs,* timer callback), it is a bug in the caller that should be fixed. */ assert (data.done); -/* Reaquire the AioContext of bs if we dropped it */ +/* Reacquire the AioContext of bs if we dropped it */ if (ctx != co_ctx) {aio_context_acquire (ctx); }
block/linux-aio.c +1 -1
@@ -227,7 +227,7 @@ static void qemu_laio_process_completions(LinuxAioState *s)/* If we are nested we have to notify the level above that we are done * by setting event_max to zero, upper level will then jump out of it's -* own `for` loop. If we are the last all counters droped to zero. */ +* own `for` loop. If we are the last all counters dropped to zero. */ s->event_max =0 ; s->event_idx =0 ; }
block/mirror.c +1 -1
@@ -502,7 +502,7 @@ static void coroutine_fn mirror_iteration(MirrorBlockJob *s)job_pause_point (&s->common.job); -/* Find the number of consective dirty chunks following the first dirty +/* Find the number of consecutive dirty chunks following the first dirty * one, and wait for in flight requests in them. */ bdrv_dirty_bitmap_lock (s->dirty_bitmap);while (nb_chunks * s->granularity < s->buf_size) {
block/qcow2-refcount.c +1 -1
@@ -2645,7 +2645,7 @@ rebuild_refcount_structure(BlockDriverState *bs, BdrvCheckResult *res,* repeat all this until the reftable stops growing. * * (This loop will terminate, because with every cluster the -* reftable grows, it can accomodate a multitude of more refcounts, +* reftable grows, it can accommodate a multitude of more refcounts, * so that at some point this must be able to cover the reftable * and all refblocks describing it.) *
block/vhdx.c +1 -1
@@ -1077,7 +1077,7 @@ static int vhdx_open(BlockDriverState *bs, QDict *options, int flags, goto fail; } -/* endian convert populated BAT field entires */ +/* endian convert populated BAT field entries */ for (i =0 ; i < s->bat_entries; i++) { s->bat[i] =le64_to_cpu (s->bat[i]); }
block/vhdx.h +2 -2
@@ -212,7 +212,7 @@ typedef struct QEMU_PACKED VHDXLogDataSector {uint32_t sequence_high;/* 4 MSB of 8 byte sequence_number */ uint8_t data[4084 ];/* raw data, bytes 8-4091 (inclusive). see the data descriptor field for the -other mising bytes */ +other missing bytes */ uint32_t sequence_low;/* 4 LSB of 8 byte sequence_number */ } VHDXLogDataSector;
@@ -257,7 +257,7 @@ typedef struct QEMU_PACKED VHDXMetadataTableHeader {#define VHDX_META_FLAGS_IS_USER 0x01/* max 1024 entries */ #define VHDX_META_FLAGS_IS_VIRTUAL_DISK 0x02/* virtual disk metadata if set, -otherwise file metdata */ +otherwise file metadata */ #define VHDX_META_FLAGS_IS_REQUIRED 0x04/* parse must understand this entry to open the file */ typedef struct QEMU_PACKED VHDXMetadataTableEntry {
bsd-user/errno_defs.h +1 -1
@@ -149,7 +149,7 @@#define TARGET_ELAST 90/* Must be equal largest errno */ /* Internal errors: */ -#define TARGET_EJUSTRETURN 254/* Just return without modifing regs */ +#define TARGET_EJUSTRETURN 254/* Just return without modifying regs */ #define TARGET_ERESTART 255/* Restart syscall */ #include "special-errno.h"
bsd-user/freebsd/target_os_siginfo.h +1 -1
@@ -72,7 +72,7 @@ typedef struct target_siginfo {int32_t _mqd; } _mesgp; -/* SIGPOLL -- Not really genreated in FreeBSD ??? */ +/* SIGPOLL -- Not really generated in FreeBSD ??? */ struct {int _band;/* POLL_IN, POLL_OUT, POLL_MSG */ } _poll;
bsd-user/freebsd/target_os_stack.h +2 -2
@@ -25,7 +25,7 @@#include "qemu/guest-random.h" /* -* The inital FreeBSD stack is as follows: +* The initial FreeBSD stack is as follows: * (see kern/kern_exec.c exec_copyout_strings() ) * * Hi Address -> char **ps_argvstr (struct ps_strings for ps, w, etc.)
@@ -59,7 +59,7 @@ static inline int setup_initial_stack(struct bsd_binprm *bprm,/* Save some space for ps_strings. */ p -=sizeof (struct target_ps_strings ); -/* Add machine depedent sigcode. */ +/* Add machine dependent sigcode. */ p -=TARGET_SZSIGCODE ;if (setup_sigtramp (p, (unsigned )offsetof(struct target_sigframe , sf_uc), TARGET_FREEBSD_NR_sigreturn)) {
bsd-user/freebsd/target_os_user.h +1 -1
@@ -26,7 +26,7 @@struct target_priority {uint8_t pri_class;/* Scheduling class. */ uint8_t pri_level;/* Normal priority level. */ -uint8_t pri_native;/* Priority before propogation. */ +uint8_t pri_native;/* Priority before propagation. */ uint8_t pri_user;/* User priority based on p_cpu and p_nice. */ };
bsd-user/qemu.h +1 -1
@@ -118,7 +118,7 @@ extern const char *qemu_uname_release;/* * TARGET_ARG_MAX defines the number of bytes allocated for arguments * and envelope for the new program. 256k should suffice for a reasonable -* maxiumum env+arg in 32-bit environments, bump it up to 512k for !ILP32 +* maximum env+arg in 32-bit environments, bump it up to 512k for !ILP32 * platforms. */ #if TARGET_ABI_BITS >32
bsd-user/signal-common.h +2 -2
@@ -49,11 +49,11 @@ void target_to_host_sigset(sigset_t *d, const target_sigset_t *s);* union in target_siginfo is valid. This only applies between * host_to_target_siginfo_noswap() and tswap_siginfo(); it does not appear * either within host siginfo_t or in target_siginfo structures which we get -* from the guest userspace program. Linux kenrels use this internally, but BSD +* from the guest userspace program. Linux kernels use this internally, but BSD * kernels don't do this, but its a useful abstraction. * * The linux-user version of this uses the top 16 bits, but FreeBSD's SI_USER -* and other signal indepenent SI_ codes have bit 16 set, so we only use the top +* and other signal independent SI_ codes have bit 16 set, so we only use the top * byte instead. * * For FreeBSD, we have si_pid, si_uid, si_status, and si_addr always. Linux and
bsd-user/signal.c +3 -3
@@ -44,7 +44,7 @@ static inline int sas_ss_flags(TaskState *ts, unsigned long sp) }/* -* The BSD ABIs use the same singal numbers across all the CPU architectures, so +* The BSD ABIs use the same signal numbers across all the CPU architectures, so * (unlike Linux) these functions are just the identity mapping. This might not * be true for XyzBSD running on AbcBSD, which doesn't currently work. */
@@ -241,7 +241,7 @@ static inline void host_to_target_siginfo_noswap(target_siginfo_t *tinfo,#endif /* * Unsure that this can actually be generated, and our support for -* capsicum is somewhere between weak and non-existant, but if we get +* capsicum is somewhere between weak and non-existent, but if we get * one, then we know what to save. */ #ifdef QEMU_SI_CAPSICUM
@@ -319,7 +319,7 @@ int block_signals(void)/* * It's OK to block everything including SIGSEGV, because we won't run any * further guest code before unblocking signals in -* process_pending_signals(). We depend on the FreeBSD behaivor here where +* process_pending_signals(). We depend on the FreeBSD behavior here where * this will only affect this thread's signal mask. We don't use * pthread_sigmask which might seem more correct because that routine also * does odd things with SIGCANCEL to implement pthread_cancel().
chardev/char-socket.c +3 -3
@@ -710,7 +710,7 @@ static void tcp_chr_telnet_init(Chardev *chr)if (!s->is_tn3270) { init->buflen =12 ; -/* Prep the telnet negotion to put telnet in binary, +/* Prep the telnet negotiation to put telnet in binary, * no echo, single char mode */ IACSET (init->buf,0xff ,0xfb ,0x01 );/* IAC WILL ECHO */ IACSET (init->buf,0xff ,0xfb ,0x03 );/* IAC WILL Suppress go ahead */
@@ -718,7 +718,7 @@ static void tcp_chr_telnet_init(Chardev *chr)IACSET (init->buf,0xff ,0xfd ,0x00 );/* IAC DO Binary */ }else { init->buflen =21 ; -/* Prep the TN3270 negotion based on RFC1576 */ +/* Prep the TN3270 negotiation based on RFC1576 */ IACSET (init->buf,0xff ,0xfd ,0x19 );/* IAC DO EOR */ IACSET (init->buf,0xff ,0xfb ,0x19 );/* IAC WILL EOR */ IACSET (init->buf,0xff ,0xfd ,0x00 );/* IAC DO BINARY */
@@ -1290,7 +1290,7 @@ static bool qmp_chardev_validate_socket(ChardevSocket *sock,return false; } -/* Validate any options which have a dependancy on client vs server */ +/* Validate any options which have a dependency on client vs server */ if (!sock->has_server || sock->server) {if (sock->has_reconnect) { error_setg(errp,
chardev/char.c +1 -1
@@ -1115,7 +1115,7 @@ ChardevReturn *qmp_chardev_change(const char *id, ChardevBackend *backend,return NULL ; } -/* change successfull, clean up */ +/* change successful, clean up */ chr_new->handover_yank_instance = false;/*
contrib/plugins/cache.c +1 -1
@@ -350,7 +350,7 @@ static int in_cache(Cache *cache, uint64_t addr)* @cache: The cache under simulation * @addr: The address of the requested memory location * -* Returns true if the requsted data is hit in the cache and false when missed. +* Returns true if the requested data is hit in the cache and false when missed. * The cache is updated on miss for the next access. */ static bool access_cache (Cache *cache,uint64_t addr)
contrib/plugins/lockstep.c +1 -1
@@ -108,7 +108,7 @@ static void report_divergance(ExecState *us, ExecState *them)/* * If we have diverged before did we get back on track or are we -* totally loosing it? +* totally losing it? */ if (divergence_log) {DivergeState *last = (DivergeState *) divergence_log->data;
crypto/afalg.c +1 -1
@@ -73,7 +73,7 @@ qcrypto_afalg_comm_alloc(const char *type, const char *name,QCryptoAFAlg *afalg; afalg =g_new0 (QCryptoAFAlg,1 ); -/* initilize crypto API socket */ +/* initialize crypto API socket */ afalg->opfd =-1 ; afalg->tfmfd =qcrypto_afalg_socket_bind (type, name, errp);if (afalg->tfmfd ==-1 ) {
crypto/block-luks.c +3 -3
@@ -244,7 +244,7 @@ qcrypto_block_luks_has_format(const uint8_t *buf,* * When calculating ESSIV IVs, the cipher length used by ESSIV * may be different from the cipher length used for the block -* encryption, becauses dm-crypt uses the hash digest length +* encryption, because dm-crypt uses the hash digest length * as the key size. ie, if you have AES 128 as the block cipher * and SHA 256 as ESSIV hash, then ESSIV will use AES 256 as * the cipher since that gets a key length matching the digest
@@ -393,7 +393,7 @@ qcrypto_block_luks_from_disk_endian(QCryptoBlockLUKSHeader *hdr) }/* -* Stores the main LUKS header, taking care of endianess +* Stores the main LUKS header, taking care of endianness */ static int qcrypto_block_luks_store_header(QCryptoBlock *block,
@@ -423,7 +423,7 @@ qcrypto_block_luks_store_header(QCryptoBlock *block, }/* -* Loads the main LUKS header,and byteswaps it to native endianess +* Loads the main LUKS header,and byteswaps it to native endianness * And run basic sanity checks on it */ static int
crypto/der.c +1 -1
@@ -76,7 +76,7 @@ enum QCryptoDERTagEnc {/** * qcrypto_der_encode_length: * @src_len: the length of source data -* @dst: distination to save the encoded 'length', if dst is NULL, only compute +* @dst: destination to save the encoded 'length', if dst is NULL, only compute * the expected buffer size in bytes. * @dst_len: output parameter, indicates how many bytes wrote. *
crypto/der.h +3 -3
@@ -249,7 +249,7 @@ void qcrypto_der_encode_octet_str(QCryptoEncodeContext *ctx,* Start encoding a octet string, All fields between * qcrypto_der_encode_octet_str_begin and qcrypto_der_encode_octet_str_end * are encoded as an octet string. This is useful when we need to encode a -* encoded SEQUNCE as OCTET STRING. +* encoded SEQUENCE as OCTET STRING. */ void qcrypto_der_encode_octet_str_begin (QCryptoEncodeContext *ctx);
@@ -260,7 +260,7 @@ void qcrypto_der_encode_octet_str_begin(QCryptoEncodeContext *ctx);* Finish encoding a octet string, All fields between * qcrypto_der_encode_octet_str_begin and qcrypto_der_encode_octet_str_end * are encoded as an octet string. This is useful when we need to encode a -* encoded SEQUNCE as OCTET STRING. +* encoded SEQUENCE as OCTET STRING. */ void qcrypto_der_encode_octet_str_end (QCryptoEncodeContext *ctx);
@@ -275,7 +275,7 @@ size_t qcrypto_der_encode_ctx_buffer_len(QCryptoEncodeContext *ctx);/** * qcrypto_der_encode_ctx_flush_and_free: * @ctx: the encode context. -* @dst: the distination to save the encoded data, the length of dst should +* @dst: the destination to save the encoded data, the length of dst should * not less than qcrypto_der_encode_cxt_buffer_len * * Flush all encoded data into dst, then free ctx.
docs/about/deprecated.rst +1 -1
@@ -369,7 +369,7 @@ mapping permissions et al by using its 'mapped' security model option. Nowadays it would make sense to reimplement the ``proxy`` backend by using QEMU's ``vhost`` feature, which would eliminate the high latency costs under which the 9p ``proxy`` backend currently suffers. However as of to date nobody -has indicated plans for such kind of reimplemention unfortunately. +has indicated plans for such kind of reimplementation unfortunately. Block device options
docs/devel/qapi-code-gen.rst +1 -1
@@ -1367,7 +1367,7 @@ Removing "unreachable" stuff like events that can't be triggered anymore, optional return or event data members that can't be sent anymore, and return or event data member (enumeration) values that can't be sent anymore makes no difference to clients, except for -introspection. The latter can conceivably confuse clients, so tread +introspection. The latter can conceivably confuse clients, so treat carefully. Incompatible changes include removing return and event data members.
docs/devel/qom.rst +1 -1
@@ -30,7 +30,7 @@ user configuration. Creating a QOM class ==================== -A simple minimal device implementation may look something like bellow: +A simple minimal device implementation may look something like below: .. code-block:: c :caption: Creating a minimal type
docs/system/arm/palm.rst +1 -1
@@ -14,7 +14,7 @@ following elements: - On-chip Real Time Clock - TI TSC2102i touchscreen controller / analog-digital converter / - Audio CODEC, connected through MicroWire and |I2S| busses + Audio CODEC, connected through MicroWire and |I2S| buses - GPIO-connected matrix keypad
docs/system/arm/xscale.rst +1 -1
@@ -32,4 +32,4 @@ The clamshell PDA models emulation includes the following peripherals: - Three on-chip UARTs -- WM8750 audio CODEC on |I2C| and |I2S| busses +- WM8750 audio CODEC on |I2C| and |I2S| buses
docs/system/devices/can.rst +3 -3
@@ -1,12 +1,12 @@ CAN Bus Emulation Support ========================= The CAN bus emulation provides mechanism to connect multiple -emulated CAN controller chips together by one or multiple CAN busses -(the controller device "canbus" parameter). The individual busses +emulated CAN controller chips together by one or multiple CAN buses +(the controller device "canbus" parameter). The individual buses can be connected to host system CAN API (at this time only Linux SocketCAN is supported). -The concept of busses is generic and different CAN controllers +The concept of buses is generic and different CAN controllers can be implemented. The initial submission implemented SJA1000 controller which
docs/system/devices/nvme.rst +1 -1
@@ -232,7 +232,7 @@ parameters: Set the number of Reclaim Groups. ``fdp.nruh`` (default: ``0``) - Set the number of Reclaim Unit Handles. This is a mandatory paramater and + Set the number of Reclaim Unit Handles. This is a mandatory parameter and must be non-zero. ``fdp.runs`` (default: ``96M``)
host/include/aarch64/host/cpuinfo.h +1 -1
@@ -1,6 +1,6 @@/* * SPDX-License-Identifier: GPL-2.0-or-later -* Host specific cpu indentification for AArch64. +* Host specific cpu identification for AArch64. */ #ifndef HOST_CPUINFO_H
host/include/generic/host/cpuinfo.h +1 -1
@@ -1,4 +1,4 @@/* -* No host specific cpu indentification. +* No host specific cpu identification. * SPDX-License-Identifier: GPL-2.0-or-later */
host/include/i386/host/cpuinfo.h +1 -1
@@ -1,6 +1,6 @@/* * SPDX-License-Identifier: GPL-2.0-or-later -* Host specific cpu indentification for x86. +* Host specific cpu identification for x86. */ #ifndef HOST_CPUINFO_H
host/include/ppc/host/cpuinfo.h +1 -1
@@ -1,6 +1,6 @@/* * SPDX-License-Identifier: GPL-2.0-or-later -* Host specific cpu indentification for ppc. +* Host specific cpu identification for ppc. */ #ifndef HOST_CPUINFO_H
hw/9pfs/9p-local.c +4 -4
@@ -624,7 +624,7 @@ static ssize_t local_pwritev(FsContext *ctx, V9fsFidOpenState *fs,/* * Initiate a writeback. This is not a data integrity sync. * We want to ensure that we don't leave dirty pages in the cache -* after write when writeout=immediate is sepcified. +* after write when writeout=immediate is specified. */ sync_file_range (fs->fd, offset, ret,SYNC_FILE_RANGE_WAIT_BEFORE |SYNC_FILE_RANGE_WRITE );
@@ -843,7 +843,7 @@ static int local_open2(FsContext *fs_ctx, V9fsPath *dir_path, const char *name, } credp->fc_mode = credp->fc_mode |S_IFREG ;if (fs_ctx->export_flags &V9FS_SM_MAPPED ) { -/* Set cleint credentials in xattr */ +/* Set client credentials in xattr */ err =local_set_xattrat (dirfd, name, credp); }else { err =local_set_mapped_file_attrat (dirfd, name, credp);
@@ -912,7 +912,7 @@ static int local_symlink(FsContext *fs_ctx, const char *oldpath,if (write_size != oldpath_size) { goto err_end; } -/* Set cleint credentials in symlink's xattr */ +/* Set client credentials in symlink's xattr */ credp->fc_mode = credp->fc_mode |S_IFLNK ;if (fs_ctx->export_flags &V9FS_SM_MAPPED ) {
@@ -1418,7 +1418,7 @@ static int local_ioc_getversion_init(FsContext *ctx, LocalData *data, Error **erstruct statfs stbuf;/* -* use ioc_getversion only if the ioctl is definied +* use ioc_getversion only if the ioctl is defined */ if (fstatfs (data->mountfd, &stbuf) <0 ) { error_setg_errno(errp, errno,
hw/9pfs/9p-proxy.c +1 -1
@@ -767,7 +767,7 @@ static ssize_t proxy_pwritev(FsContext *ctx, V9fsFidOpenState *fs,/* * Initiate a writeback. This is not a data integrity sync. * We want to ensure that we don't leave dirty pages in the cache -* after write when writeout=immediate is sepcified. +* after write when writeout=immediate is specified. */ sync_file_range (fs->fd, offset, ret,SYNC_FILE_RANGE_WAIT_BEFORE |SYNC_FILE_RANGE_WRITE );
hw/9pfs/9p-synth.c +1 -1
@@ -493,7 +493,7 @@ static int synth_name_to_path(FsContext *ctx, V9fsPath *dir_path, node = dir_node; goto out; } -/* search for the name in the childern */ +/* search for the name in the children */ rcu_read_lock (); QLIST_FOREACH(node, &dir_node->child, sibling) {if (!strcmp (node->name, name)) {
hw/9pfs/9p-util.h +1 -1
@@ -48,7 +48,7 @@ static inline uint64_t makedev_dotl(uint32_t dev_major, uint32_t dev_minor)/* * Converts given device number from host's device number format to Linux * device number format. As both the size of type dev_t and encoding of -* dev_t is system dependant, we have to convert them for Linux guests if +* dev_t is system dependent, we have to convert them for Linux guests if * host is not running Linux. */ static inline uint64_t host_dev_to_dotl_dev (dev_t dev)
hw/9pfs/9p.c +2 -2
@@ -644,7 +644,7 @@ static inline uint64_t mirror64bit(uint64_t value) }/* -* Parameter k for the Exponential Golomb algorihm to be used. +* Parameter k for the Exponential Golomb algorithm to be used. * * The smaller this value, the smaller the minimum bit count for the Exp. * Golomb generated affixes will be (at lowest index) however for the
@@ -1039,7 +1039,7 @@ static void coroutine_fn pdu_complete(V9fsPDU *pdu, ssize_t len)* Sending a reply would confuse clients because they would * assume that any EINTR is the actual result of the operation, * rather than a consequence of the cancellation. However, if -* the operation completed (succesfully or with an error other +* the operation completed (successfully or with an error other * than caused be cancellation), we do send out that reply, both * for efficiency and to avoid confusing the rest of the state machine * that assumes passing a non-error here will mean a successful
hw/9pfs/9p.h +1 -1
@@ -304,7 +304,7 @@ typedef struct VariLenAffix {AffixType_t type;/* Whether this affix is a suffix or a prefix. */ uint64_t value;/* Actual numerical value of this affix. */ /* -* Lenght of the affix, that is how many (of the lowest) bits of ``value`` +* Length of the affix, that is how many (of the lowest) bits of ``value`` * must be used for appending/prepending this affix to its final resulting, * unique number. */
hw/acpi/aml-build.c +3 -3
@@ -312,7 +312,7 @@ build_prepend_package_length(GArray *package, unsigned length, bool incl_self)/* * PkgLength is the length of the inclusive length of the data * and PkgLength's length itself when used for terms with -* explitit length. +* explicit length. */ length += length_bytes; }
@@ -680,7 +680,7 @@ Aml *aml_store(Aml *val, Aml *target)* "Op Operand Operand Target" * pattern. * -* Returns: The newly allocated and composed according to patter Aml object. +* Returns: The newly allocated and composed according to pattern Aml object. */ static Aml *build_opcode_2arg_dst (uint8_t op,Aml *arg1,Aml *arg2,Aml *dst)
@@ -2159,7 +2159,7 @@ void build_fadt(GArray *tbl, BIOSLinker *linker, const AcpiFadtData *f,/* FADT Minor Version */ build_append_int_noprefix (tbl, f->minor_ver,1 ); }else { -build_append_int_noprefix (tbl,0 ,3 );/* Reserved upto ACPI 5.0 */ +build_append_int_noprefix (tbl,0 ,3 );/* Reserved up to ACPI 5.0 */ }build_append_int_noprefix (tbl,0 ,8 );/* X_FIRMWARE_CTRL */
hw/acpi/hmat.c +1 -1
@@ -82,7 +82,7 @@ static void build_hmat_lb(GArray *table_data, HMAT_LB_Info *hmat_lb,uint32_t base;/* Length in bytes for entire structure */ uint32_t lb_length - =32 /* Table length upto and including Entry Base Unit */ + =32 /* Table length up to and including Entry Base Unit */ +4 * num_initiator/* Initiator Proximity Domain List */ +4 * num_target/* Target Proximity Domain List */ +2 * num_initiator * num_target;/* Latency or Bandwidth Entries */
hw/acpi/nvdimm.c +1 -1
@@ -1097,7 +1097,7 @@ static void nvdimm_build_common_dsm(Aml *dev,* be treated as an integer. Moreover, the integer size depends on * DSDT tables revision number. If revision number is < 2, integer * size is 32 bits, otherwise it is 64 bits. -* Because of this CreateField() canot be used if RLEN < Integer Size. +* Because of this CreateField() cannot be used if RLEN < Integer Size. * * Also please note that APCI ASL operator SizeOf() doesn't support * Integer and there isn't any other way to figure out the Integer
hw/arm/aspeed.c +1 -1
@@ -1565,7 +1565,7 @@ static void ast1030_evb_i2c_init(AspeedMachineState *bmc) {AspeedSoCState *soc = &bmc->soc; -/* U10 24C08 connects to SDA/SCL Groupt 1 by default */ +/* U10 24C08 connects to SDA/SCL Group 1 by default */ uint8_t *eeprom_buf =g_malloc0 (32 *1024 );smbus_eeprom_init_one (aspeed_i2c_get_bus (&soc->i2c,0 ),0x50 , eeprom_buf);
hw/arm/mps2-tz.c +1 -1
@@ -1205,7 +1205,7 @@ static void mps2_tz_idau_check(IDAUInterface *ii, uint32_t address, {/* * The MPS2 TZ FPGA images have IDAUs in them which are connected to -* the Master Security Controllers. Thes have the same logic as +* the Master Security Controllers. These have the same logic as * is used by the IoTKit for the IDAU connected to the CPU, except * that MSCs don't care about the NSC attribute. */
hw/arm/versatilepb.c +1 -1
@@ -175,7 +175,7 @@ static void vpb_sic_init(Object *obj)/* Board init. */ /* The AB and PB boards both use the same core, just with different -peripherals and expansion busses. For now we emulate a subset of the +peripherals and expansion buses. For now we emulate a subset of the PB peripherals and just change the board ID. */ static struct arm_boot_info versatile_binfo;
hw/audio/fmopl.c +4 -4
@@ -355,7 +355,7 @@ static void set_algorithm( OPL_CH *CH)CH ->connect2 = carrier; } -/* ---------- frequency counter for operater update ---------- */ +/* ---------- frequency counter for operator update ---------- */ static inline void CALC_FCSLOT (OPL_CH *CH ,OPL_SLOT *SLOT ) {int ksr;
@@ -640,7 +640,7 @@ static int OPLOpenTable( void )TL_TABLE [t] =TL_TABLE [TL_MAX +t] =0 ; } -/* make sinwave table (total level offet) */ +/* make sinwave table (total level offset) */ /* degree 0 = degree 180 = off */ SIN_TABLE [0 ] =SIN_TABLE [SIN_ENT /2 ] = &TL_TABLE [EG_ENT -1 ];for (s =1 ;s <=SIN_ENT /4 ;s++){
@@ -1075,7 +1075,7 @@ FM_OPL *OPLCreate(int clock, int rate)char *ptr;FM_OPL *OPL ;int state_size; -int max_ch =9 ;/* normaly 9 channels */ +int max_ch =9 ;/* normally 9 channels */ if (OPL_LockTable () ==-1 )return NULL ;/* allocate OPL state space */
@@ -1092,7 +1092,7 @@ FM_OPL *OPLCreate(int clock, int rate)OPL ->clock = clock;OPL ->rate = rate;OPL ->max_ch = max_ch; -/* init grobal tables */ +/* init global tables */ OPL_initialize (OPL );/* reset chip */ OPLResetChip (OPL );
hw/audio/fmopl.h +1 -1
@@ -69,7 +69,7 @@ typedef struct fm_opl_f {/* FM channel slots */ OPL_CH *P_CH ;/* pointer of CH */ int max_ch;/* maximum channel */ -/* Rhythm sention */ +/* Rhythm section */ uint8_t rhythm;/* Rhythm mode , key flag */ /* time tables */ int32_t AR_TABLE [76 ];/* attack rate tables */
hw/audio/gusemu_hal.c +2 -2
@@ -154,7 +154,7 @@ unsigned int gus_read(GUSEmuState * state, int port, int size)case 0x8d : {int offset =2 * (GUSregb (FunkSelReg3x3) &0x0f ); - offset += ((int )GUSregb (VoiceSelReg3x2) &0x1f ) <<5 ;/* = Voice*32 + Funktion*2 */ + offset += ((int )GUSregb (VoiceSelReg3x2) &0x1f ) <<5 ;/* = Voice*32 + Function*2 */ value_read =GUSregw (offset); }break ;
@@ -353,7 +353,7 @@ void gus_write(GUSEmuState * state, int port, int size, unsigned int data)if (!(GUSregb (GUS4cReset) &0x01 ))break ;/* reset flag active? */ offset =2 * (GUSregb (FunkSelReg3x3) &0x0f ); - offset += (GUSregb (VoiceSelReg3x2) &0x1f ) <<5 ;/* = Voice*32 + Funktion*2 */ + offset += (GUSregb (VoiceSelReg3x2) &0x1f ) <<5 ;/* = Voice*32 + Function*2 */ GUSregw (offset) = (uint16_t ) ((GUSregw (offset) & readmask) | writedata); }break ;
hw/audio/intel-hda-defs.h +2 -2
@@ -418,7 +418,7 @@ enum {#define AC_UNSOL_RES_CP_STATE (1<<1)/* content protection */ #define AC_UNSOL_RES_CP_READY (1<<0)/* content protection */ -/* Pin widget capabilies */ +/* Pin widget capabilities */ #define AC_PINCAP_IMP_SENSE (1<<0)/* impedance sense capable */ #define AC_PINCAP_TRIG_REQ (1<<1)/* trigger required */ #define AC_PINCAP_PRES_DETECT (1<<2)/* presence detect capable */
@@ -483,7 +483,7 @@ enum {#define AC_PWRST_D2 0x02#define AC_PWRST_D3 0x03 -/* Processing capabilies */ +/* Processing capabilities */ #define AC_PCAP_BENIGN (1<<0)#define AC_PCAP_NUM_COEF (0xff<<8)#define AC_PCAP_NUM_COEF_SHIFT 8
hw/block/hd-geometry.c +2 -2
@@ -50,7 +50,7 @@ struct partition {uint32_t nr_sects;/* nr of sectors in partition */ }QEMU_PACKED ; -/* try to guess the disk logical geometry from the MSDOS partition table. +/* try to guess the disk logical geometry from the MS-DOS partition table. Return 0 if OK, -1 if could not guess */ static int guess_disk_lchs (BlockBackend *blk,int *pcylinders,int *pheads,int *psectors)
@@ -66,7 +66,7 @@ static int guess_disk_lchs(BlockBackend *blk,if (blk_pread (blk,0 ,BDRV_SECTOR_SIZE , buf,0 ) <0 ) {return -1 ; } -/* test msdos magic */ +/* test MS-DOS magic */ if (buf[510 ] !=0x55 || buf[511 ] !=0xaa ) {return -1 ; }
hw/block/pflash_cfi01.c +1 -1
@@ -891,7 +891,7 @@ static Property pflash_cfi01_properties[] = {/* num-blocks is the number of blocks actually visible to the guest, * ie the total size of the device divided by the sector length. * If we're emulating flash devices wired in parallel the actual -* number of blocks per indvidual device will differ. +* number of blocks per individual device will differ. */ DEFINE_PROP_UINT32 ("num-blocks" , PFlashCFI01, nb_blocs,0 ), DEFINE_PROP_UINT64("sector-length", PFlashCFI01, sector_len, 0),
hw/char/cadence_uart.c +1 -1
@@ -575,7 +575,7 @@ static int cadence_uart_pre_load(void *opaque) {CadenceUARTState *s = opaque; -/* the frequency will be overriden if the refclk field is present */ +/* the frequency will be overridden if the refclk field is present */ clock_set_hz (s->refclk,UART_DEFAULT_REF_CLK );return 0 ; }
hw/char/imx_serial.c +1 -1
@@ -112,7 +112,7 @@ static void imx_serial_reset_at_boot(DeviceState *dev)imx_serial_reset (s);/* -* enable the uart on boot, so messages from the linux decompresser +* enable the uart on boot, so messages from the linux decompressor * are visible. On real hardware this is done by the boot rom * before anything else is loaded. */
hw/char/serial.c +1 -1
@@ -54,7 +54,7 @@#define UART_IIR_RLSI 0x06/* Receiver line status interrupt */ #define UART_IIR_CTI 0x0C/* Character Timeout Indication */ -#define UART_IIR_FENF 0x80/* Fifo enabled, but not functionning */ +#define UART_IIR_FENF 0x80/* Fifo enabled, but not functioning */ #define UART_IIR_FE 0xC0/* Fifo enabled */ /*
hw/core/generic-loader.c +2 -2
@@ -24,7 +24,7 @@* callback that does the memory operations. * This device allows the user to monkey patch memory. To be able to do -* this it needs a backend to manage the datas, the same as other +* this it needs a backend to manage the data, the same as other * memory-related devices. In this case as the backend is so trivial we * have merged it with the frontend instead of creating and maintaining a * separate backend.
@@ -166,7 +166,7 @@ static void generic_loader_realize(DeviceState *dev, Error **errp) } } -/* Convert the data endiannes */ +/* Convert the data endianness */ if (s->data_be) { s->data =cpu_to_be64 (s->data); }else {
hw/core/loader.c +2 -2
@@ -863,7 +863,7 @@ ssize_t load_image_gzipped(const char *filename, hwaddr addr, uint64_t max_sz)/* * The Linux header magic number for a EFI PE/COFF -* image targetting an unspecified architecture. +* image targeting an unspecified architecture. */ #define EFI_PE_LINUX_MAGIC "\xcd\x23\x82\x81"
@@ -1492,7 +1492,7 @@ RomGap rom_find_largest_gap_between(hwaddr base, size_t size)if (rom->mr || rom->fw_file) {continue ; } -/* ignore anything finishing bellow base */ +/* ignore anything finishing below base */ if (rom->addr + rom->romsize <= base) {continue ; }
hw/core/machine.c +1 -1
@@ -1414,7 +1414,7 @@ void machine_run_board_init(MachineState *machine, const char *mem_path, Error *for (i =0 ; machine_class->valid_cpu_types[i]; i++) {if (object_class_dynamic_cast (oc, machine_class->valid_cpu_types[i])) { -/* The user specificed CPU is in the valid field, we are +/* The user specified CPU is in the valid field, we are * good to go. */ break ;
hw/core/qdev-properties-system.c +1 -1
@@ -107,7 +107,7 @@ static void set_drive_helper(Object *obj, Visitor *v, const char *name, }if (*ptr) { -/* BlockBackend alread exists. So, we want to change attached node */ +/* BlockBackend already exists. So, we want to change attached node */ blk = *ptr; ctx =blk_get_aio_context (blk); bs =bdrv_lookup_bs (NULL , str, errp);
hw/cpu/a15mpcore.c +1 -1
@@ -161,7 +161,7 @@ static void a15mp_priv_class_init(ObjectClass *klass, void *data) dc->realize = a15mp_priv_realize;device_class_set_props (dc, a15mp_priv_properties); -/* We currently have no savable state */ +/* We currently have no saveable state */ }static const TypeInfo a15mp_priv_info = {
hw/cxl/cxl-events.c +1 -1
@@ -197,7 +197,7 @@ CXLRetCode cxl_event_clear_records(CXLDeviceState *cxlds, CXLClearEventPayload *QEMU_LOCK_GUARD (&log->lock);/* -* Must itterate the queue twice. +* Must iterate the queue twice. * "The device shall verify the event record handles specified in the input * payload are in temporal order. If the device detects an older event * record that will not be cleared when Clear Event Records is executed,
hw/cxl/cxl-host.c +1 -1
@@ -329,7 +329,7 @@ void cxl_machine_init(Object *obj, CXLState *state)void cxl_hook_up_pxb_registers (PCIBus *bus,CXLState *state,Error **errp) { -/* Walk the pci busses looking for pxb busses to hook up */ +/* Walk the pci buses looking for pxb buses to hook up */ if (bus) { QLIST_FOREACH(bus, &bus->child, sibling) {if (!pci_bus_is_root (bus)) {
hw/cxl/cxl-mailbox-utils.c +2 -2
@@ -39,7 +39,7 @@* fill the output data into cmd->payload (overwriting what was there), * setting the length, and returning a valid return code. * -* XXX: The handler need not worry about endianess. The payload is read out of +* XXX: The handler need not worry about endianness. The payload is read out of * a register interface that already deals with it. */
@@ -501,7 +501,7 @@ static CXLRetCode cmd_media_get_poison_list(struct cxl_cmd *cmd,uint16_t out_pl_len; query_start =ldq_le_p (&in->pa); -/* 64 byte alignemnt required */ +/* 64 byte alignment required */ if (query_start &0x3f ) {return CXL_MBOX_INVALID_INPUT ; }
hw/display/bochs-display.c +1 -1
@@ -164,7 +164,7 @@ static int bochs_display_get_mode(BochsDisplayState *s,memset (mode,0 ,sizeof (*mode));switch (vbe[VBE_DISPI_INDEX_BPP ]) {case 16 : -/* best effort: support native endianess only */ +/* best effort: support native endianness only */ mode->format = PIXMAN_r5g6b5; mode->bytepp =2 ;break ;
hw/display/qxl.c +1 -1
@@ -1544,7 +1544,7 @@ static void qxl_create_guest_primary(PCIQXLDevice *qxl, int loadvm, } } -/* return 1 if surface destoy was initiated (in QXL_ASYNC case) or +/* return 1 if surface destroy was initiated (in QXL_ASYNC case) or * done (in QXL_SYNC case), 0 otherwise. */ static int qxl_destroy_primary (PCIQXLDevice *d,qxl_async_io async) {
hw/display/ssd0303.c +1 -1
@@ -8,7 +8,7 @@*/ /* The controller can support a variety of different displays, but we only -implement one. Most of the commends relating to brightness and geometry +implement one. Most of the commands relating to brightness and geometry setup are ignored. */ #include "qemu/osdep.h"
hw/display/ssd0323.c +1 -1
@@ -8,7 +8,7 @@*/ /* The controller can support a variety of different displays, but we only -implement one. Most of the commends relating to brightness and geometry +implement one. Most of the commands relating to brightness and geometry setup are ignored. */ #include "qemu/osdep.h"
hw/display/xlnx_dp.c +1 -1
@@ -380,7 +380,7 @@ static inline void xlnx_dp_audio_mix_buffer(XlnxDPState *s)static void xlnx_dp_audio_callback (void *opaque,int avail) {/* -* Get some data from the DPDMA and compute these datas. +* Get some data from the DPDMA and compute these data. * Then wait for QEMU's audio subsystem to call this callback. */ XlnxDPState *s =XLNX_DP (opaque);
hw/dma/omap_dma.c +2 -2
@@ -247,7 +247,7 @@ static void omap_dma_deactivate_channel(struct omap_dma_s *s,return ; } -/* Don't deactive the channel if it is synchronized and the DMA request is +/* Don't deactivate the channel if it is synchronized and the DMA request is active */ if (ch->sync && ch->enable && (s->dma->drqbmp & (1ULL << ch->sync)))return ;
@@ -422,7 +422,7 @@ static void omap_dma_transfer_generic(struct soc_dma_ch_s *dma)if (ch->fs && ch->bs) { a->pck_element ++; -/* Check if a full packet has beed transferred. */ +/* Check if a full packet has been transferred. */ if (a->pck_element == a->pck_elements) { a->pck_element =0 ;
hw/i2c/pm_smbus.c +1 -1
@@ -1,6 +1,6 @@/* * PC SMBus implementation -* splitted from acpi.c +* split from acpi.c * * Copyright (c) 2006 Fabrice Bellard *
hw/i2c/pmbus_device.c +1 -1
@@ -1623,7 +1623,7 @@ static int pmbus_write_data(SMBusDevice *smd, uint8_t *buf, uint8_t len)break ; passthrough: -/* Unimplimented registers get passed to the device */ +/* Unimplemented registers get passed to the device */ default :if (pmdc->write_data) { ret = pmdc->write_data (pmdev, buf, len);
hw/i2c/smbus_slave.c +1 -1
@@ -2,7 +2,7 @@* QEMU SMBus device emulation. * * This code is a helper for SMBus device emulation. It implements an -* I2C device inteface and runs the SMBus protocol from the device +* I2C device interface and runs the SMBus protocol from the device * point of view and maps those to simple calls to emulate. * * Copyright (c) 2007 CodeSourcery.
hw/i386/acpi-build.c +2 -2
@@ -775,7 +775,7 @@ static Aml *initialize_route(Aml *route, const char *link_name,* * Returns an array of 128 routes, one for each device, * based on device location. -* The main goal is to equaly distribute the interrupts +* The main goal is to equally distribute the interrupts * over the 4 existing ACPI links (works only for i440fx). * The hash function is (slot + pin) & 3 -> "LNK[D|A|B|C]". *
@@ -2081,7 +2081,7 @@ build_srat(GArray *table_data, BIOSLinker *linker, MachineState *machine) }/* -* Insert DMAR scope for PCI bridges and endpoint devcie +* Insert DMAR scope for PCI bridges and endpoint device */ static void insert_scope (PCIBus *bus,PCIDevice *dev,void *opaque)
hw/i386/amd_iommu.c +2 -2
@@ -259,7 +259,7 @@ static void amdvi_log_command_error(AMDVIState *s, hwaddr addr)pci_word_test_and_set_mask (s->pci.dev.config +PCI_STATUS ,PCI_STATUS_SIG_TARGET_ABORT ); } -/* log an illegal comand event +/* log an illegal command event * @addr : address of illegal command */ static void amdvi_log_illegalcom_error(AMDVIState *s, uint16_t info,
@@ -767,7 +767,7 @@ static void amdvi_mmio_write(void *opaque, hwaddr addr, uint64_t val,break ;case AMDVI_MMIO_COMMAND_BASE :amdvi_mmio_reg_write (s, size, val, addr); -/* FIXME - make sure System Software has finished writing incase +/* FIXME - make sure System Software has finished writing in case * it writes in chucks less than 8 bytes in a robust way.As for * now, this hacks works for the linux driver */
hw/i386/intel_iommu.c +2 -2
@@ -52,7 +52,7 @@/* * PCI bus number (or SID) is not reliable since the device is usaully -* initalized before guest can configure the PCI bridge +* initialized before guest can configure the PCI bridge * (SECONDARY_BUS_NUMBER). */ struct vtd_as_key {
@@ -1689,7 +1689,7 @@ static bool vtd_switch_address_space(VTDAddressSpace *as)* """ * * We enable per as memory region (iommu_ir_fault) for catching -* the tranlsation for interrupt range through PASID + PT. +* the translation for interrupt range through PASID + PT. */ if (pt && as->pasid !=PCI_NO_PASID ) {memory_region_set_enabled (&as->iommu_ir_fault, true);
hw/i386/kvm/xen_xenstore.c +1 -1
@@ -1156,7 +1156,7 @@ static unsigned int copy_to_ring(XenXenstoreState *s, uint8_t *ptr,/* * This matches the barrier in copy_to_ring() (or the guest's -* equivalent) betweem writing the data to the ring and updating +* equivalent) between writing the data to the ring and updating * rsp_prod. It protects against the pathological case (which * again I think never happened except on Alpha) where our * subsequent writes to the ring could *cross* the read of
hw/i386/kvm/xenstore_impl.c +1 -1
@@ -1426,7 +1426,7 @@ static void save_node(gpointer key, gpointer value, gpointer opaque)/* * If we already wrote this node, refer to the previous copy. * There's no rename/move in XenStore, so all we need to find -* it is the tx_id of the transation in which it exists. Which +* it is the tx_id of the transaction in which it exists. Which * may be the root tx. */ if (n->serialized_tx !=XBT_NULL ) {
hw/i386/pc.c +2 -2
@@ -435,7 +435,7 @@ static uint64_t ioport80_read(void *opaque, hwaddr addr, unsigned size)return 0xffffffffffffffffULL ; } -/* MSDOS compatibility mode FPU exception support */ +/* MS-DOS compatibility mode FPU exception support */ static void ioportF0_write (void *opaque,hwaddr addr,uint64_t data,unsigned size) {
@@ -1842,7 +1842,7 @@ static void pc_machine_set_max_fw_size(Object *obj, Visitor *v,if (value >16 * MiB) {error_setg (errp,"User specified max allowed firmware size %" PRIu64" is " -"greater than 16MiB. If combined firwmare size exceeds " +"greater than 16MiB. If combined firmware size exceeds " "16MiB the system may not boot, or experience intermittent" "stability issues." , value);
hw/ide/ahci_internal.h +2 -2
@@ -61,13 +61,13 @@ enum AHCIHostReg {AHCI_HOST_REG_CTL =1 ,/* GHC: global host control */ AHCI_HOST_REG_IRQ_STAT =2 ,/* IS: interrupt status */ AHCI_HOST_REG_PORTS_IMPL =3 ,/* PI: bitmap of implemented ports */ -AHCI_HOST_REG_VERSION =4 ,/* VS: AHCI spec. version compliancy */ +AHCI_HOST_REG_VERSION =4 ,/* VS: AHCI spec. version compliance */ AHCI_HOST_REG_CCC_CTL =5 ,/* CCC_CTL: CCC Control */ AHCI_HOST_REG_CCC_PORTS =6 ,/* CCC_PORTS: CCC Ports */ AHCI_HOST_REG_EM_LOC =7 ,/* EM_LOC: Enclosure Mgmt Location */ AHCI_HOST_REG_EM_CTL =8 ,/* EM_CTL: Enclosure Mgmt Control */ AHCI_HOST_REG_CAP2 =9 ,/* CAP2: host capabilities, extended */ -AHCI_HOST_REG_BOHC =10 ,/* BOHC: firmare/os handoff ctrl & status */ +AHCI_HOST_REG_BOHC =10 ,/* BOHC: firmware/os handoff ctrl & status */ AHCI_HOST_REG__COUNT =11 };
hw/ide/cmd646.c +1 -1
@@ -257,7 +257,7 @@ static void pci_cmd646_ide_realize(PCIDevice *dev, Error **errp) pci_conf[CNTRL ] =CNTRL_EN_CH0 ;// enable IDE0 if (d->secondary) { -/* XXX: if not enabled, really disable the seconday IDE controller */ +/* XXX: if not enabled, really disable the secondary IDE controller */ pci_conf[CNTRL ] |=CNTRL_EN_CH1 ;/* enable IDE1 */ }
hw/ide/core.c +1 -1
@@ -1698,7 +1698,7 @@ static bool cmd_set_features(IDEState *s, uint8_t cmd)put_le16 (identify_data +63 ,0x07 );put_le16 (identify_data +88 ,0x3f );break ; -case 0x02 :/* sigle word dma mode*/ +case 0x02 :/* single word dma mode */ put_le16 (identify_data +62 ,0x07 | (1 << (val +8 )));put_le16 (identify_data +63 ,0x07 );put_le16 (identify_data +88 ,0x3f );
hw/input/hid.c +1 -1
@@ -209,7 +209,7 @@ static void hid_pointer_sync(DeviceState *dev) prev->dz += curr->dz; curr->dz =0 ; }else { -/* prepate next (clear rel, copy abs + btns) */ +/* prepare next (clear rel, copy abs + btns) */ if (hs->kind ==HID_MOUSE ) { next->xdx =0 ; next->ydy =0 ;
hw/input/tsc2005.c +8 -8
@@ -157,14 +157,14 @@ static uint16_t tsc2005_read(TSC2005State *s, int reg) s->reset = true;return ret; -case 0x8 :/* AUX high treshold */ +case 0x8 :/* AUX high threshold */ return s->aux_thr[1 ]; -case 0x9 :/* AUX low treshold */ +case 0x9 :/* AUX low threshold */ return s->aux_thr[0 ]; -case 0xa :/* TEMP high treshold */ +case 0xa :/* TEMP high threshold */ return s->temp_thr[1 ]; -case 0xb :/* TEMP low treshold */ +case 0xb :/* TEMP low threshold */ return s->temp_thr[0 ];case 0xc :/* CFR0 */
@@ -186,17 +186,17 @@ static uint16_t tsc2005_read(TSC2005State *s, int reg)static void tsc2005_write (TSC2005State *s,int reg,uint16_t data) {switch (reg) { -case 0x8 :/* AUX high treshold */ +case 0x8 :/* AUX high threshold */ s->aux_thr[1 ] = data;break ; -case 0x9 :/* AUX low treshold */ +case 0x9 :/* AUX low threshold */ s->aux_thr[0 ] = data;break ; -case 0xa :/* TEMP high treshold */ +case 0xa :/* TEMP high threshold */ s->temp_thr[1 ] = data;break ; -case 0xb :/* TEMP low treshold */ +case 0xb :/* TEMP low threshold */ s->temp_thr[0 ] = data;break ;
hw/intc/arm_gic.c +2 -2
@@ -239,7 +239,7 @@ static inline bool gic_lr_entry_is_free(uint32_t entry) }/* Return true if this LR should trigger an EOI maintenance interrupt, i.e. the -* corrsponding bit in EISR is set. +* corresponding bit in EISR is set. */ static inline bool gic_lr_entry_is_eoi (uint32_t entry) {
@@ -1333,7 +1333,7 @@ static void gic_dist_writeb(void *opaque, hwaddr offset,/* ??? This currently clears the pending bit for all CPUs, even for per-CPU interrupts. It's unclear whether this is the -corect behavior. */ +correct behavior. */ if (value & (1 << i)) {GIC_DIST_CLEAR_PENDING (irq + i,ALL_CPU_MASK ); }
hw/intc/arm_gicv3_redist.c +1 -1
@@ -494,7 +494,7 @@ static MemTxResult gicr_writel(GICv3CPUState *cs, hwaddr offset,/* Only the ProcessorSleep bit is writable. When the guest sets * it, it requests that we transition the channel between the * redistributor and the cpu interface to quiescent, and that -* we set the ChildrenAsleep bit once the inteface has reached the +* we set the ChildrenAsleep bit once the interface has reached the * quiescent state. * Setting the ProcessorSleep to 0 reverses the quiescing, and * ChildrenAsleep is cleared once the transition is complete.
hw/intc/armv7m_nvic.c +1 -1
@@ -894,7 +894,7 @@ int armv7m_nvic_complete_irq(NVICState *s, int irq, bool secure) vec->active =0 ;if (vec->level) {/* Re-pend the exception if it's still held high; only -* happens for extenal IRQs +* happens for external IRQs */ assert (irq >=NVIC_FIRST_IRQ ); vec->pending =1 ;
hw/intc/loongarch_extioi.c +1 -1
@@ -191,7 +191,7 @@ static MemTxResult extioi_writew(void *opaque, hwaddr addr, cpu = attrs.requester_id; old_data = s->coreisr[cpu][index]; s->coreisr[cpu][index] = old_data & ~val; -/* write 1 to clear interrrupt */ +/* write 1 to clear interrupt */ old_data &= val; irq =ctz32 (old_data);while (irq !=32 ) {
hw/intc/loongson_liointc.c +1 -1
@@ -1,5 +1,5 @@/* -* QEMU Loongson Local I/O interrupt controler. +* QEMU Loongson Local I/O interrupt controller. * * Copyright (c) 2020 Huacai Chen <[email protected]> * Copyright (c) 2020 Jiaxun Yang <[email protected]>
hw/intc/omap_intc.c +1 -1
@@ -68,7 +68,7 @@ static void omap_inth_sir_update(OMAPIntcState *s, int is_fiq) p_intr =255 ;/* Find the interrupt line with the highest dynamic priority. -* Note: 0 denotes the hightest priority. +* Note: 0 denotes the highest priority. * If all interrupts have the same priority, the default order is IRQ_N, * IRQ_N-1,...,IRQ_0. */ for (j =0 ; j < s->nbanks; ++j) {
hw/intc/pnv_xive.c +1 -1
@@ -943,7 +943,7 @@ static void pnv_xive_ic_reg_write(void *opaque, hwaddr offset,*/ case VC_SBC_CONFIG :/* Store EOI configuration */ /* -* Configure store EOI if required by firwmare (skiboot has removed +* Configure store EOI if required by firmware (skiboot has removed * support recently though) */ if (val & (VC_SBC_CONF_CPLX_CIST |VC_SBC_CONF_CIST_BOTH )) {
hw/intc/s390_flic_kvm.c +1 -1
@@ -380,7 +380,7 @@ static void kvm_s390_release_adapter_routes(S390FLICState *fs,* @size: ignored * * Note: Pass buf and len to kernel. Start with one page and -* increase until buffer is sufficient or maxium size is +* increase until buffer is sufficient or maximum size is * reached */ static int kvm_flic_save(QEMUFile *f, void *opaque, size_t size,
hw/intc/spapr_xive.c +1 -1
@@ -27,7 +27,7 @@#include "trace.h" /* -* XIVE Virtualization Controller BAR and Thread Managment BAR that we +* XIVE Virtualization Controller BAR and Thread Management BAR that we * use for the ESB pages and the TIMA pages */ #define SPAPR_XIVE_VC_BASE 0x0006010000000000ull
hw/intc/spapr_xive_kvm.c +3 -3
@@ -485,7 +485,7 @@ static int kvmppc_xive_get_queues(SpaprXive *xive, Error **errp)* * Whenever the VM is stopped, the VM change handler sets the source * PQs to PENDING to stop the flow of events and to possibly catch a -* triggered interrupt occuring while the VM is stopped. The previous +* triggered interrupt occurring while the VM is stopped. The previous * state is saved in anticipation of a migration. The XIVE controller * is then synced through KVM to flush any in-flight event * notification and stabilize the EQs.
@@ -551,7 +551,7 @@ static void kvmppc_xive_change_state_handler(void *opaque, bool running,/* * PQ is set to PENDING to possibly catch a triggered -* interrupt occuring while the VM is stopped (hotplug event +* interrupt occurring while the VM is stopped (hotplug event * for instance) . */ if (pq !=XIVE_ESB_OFF ) {
@@ -633,7 +633,7 @@ int kvmppc_xive_post_load(SpaprXive *xive, int version_id)/* The KVM XIVE device should be in use */ assert (xive->fd !=-1 ); -/* Restore the ENDT first. The targetting depends on it. */ +/* Restore the ENDT first. The targeting depends on it. */ for (i =0 ; i < xive->nr_ends; i++) {if (!xive_end_is_valid (&xive->endt[i])) {continue ;
hw/intc/xive.c +1 -1
@@ -1601,7 +1601,7 @@ int xive_presenter_tctx_match(XivePresenter *xptr, XiveTCTX *tctx,* * It receives notification requests sent by the IVRE to find one * matching NVT (or more) dispatched on the processor threads. In case -* of a single NVT notification, the process is abreviated and the +* of a single NVT notification, the process is abbreviated and the * thread is signaled if a match is found. In case of a logical server * notification (bits ignored at the end of the NVT identifier), the * IVPE and IVRE select a winning thread using different filters. This
hw/intc/xive2.c +3 -3
@@ -542,7 +542,7 @@ static void xive2_router_realize(DeviceState *dev, Error **errp)/* * Notification using the END ESe/ESn bit (Event State Buffer for -* escalation and notification). Profide futher coalescing in the +* escalation and notification). Profide further coalescing in the * Router. */ static bool xive2_router_end_es_notify(Xive2Router *xrtr, uint8_t end_blk,
@@ -621,7 +621,7 @@ static void xive2_router_end_notify(Xive2Router *xrtr, uint8_t end_blk,/* * Check the END ESn (Event State Buffer for notification) for -* even futher coalescing in the Router +* even further coalescing in the Router */ if (!xive2_end_is_notify (&end)) {/* ESn[Q]=1 : end of notification */
@@ -702,7 +702,7 @@ do_escalation:/* * Check the END ESe (Event State Buffer for escalation) for even -* futher coalescing in the Router +* further coalescing in the Router */ if (!xive2_end_is_uncond_escalation (&end)) {/* ESe[Q]=1 : end of escalation notification */
hw/ipmi/ipmi_bmc_extern.c +1 -1
@@ -301,7 +301,7 @@ static void handle_msg(IPMIBmcExtern *ibe)ipmi_debug ("msg checksum failure\n" );return ; }else { - ibe->inpos--;/* Remove checkum */ + ibe->inpos--;/* Remove checksum */ }timer_del (ibe->extern_timer);
hw/m68k/next-cube.c +1 -1
@@ -734,7 +734,7 @@ static void next_irq(void *opaque, int number, int level)M68kCPU *cpu = s->cpu;int shift =0 ; -/* first switch sets interupt status */ +/* first switch sets interrupt status */ /* DPRINTF("IRQ %i\n",number); */ switch (number) {/* level 3 - floppy, kbd/mouse, power, ether rx/tx, scsi, clock */
hw/m68k/next-kbd.c +1 -1
@@ -37,7 +37,7 @@OBJECT_DECLARE_SIMPLE_TYPE (NextKBDState,NEXTKBD ) -/* following defintions from next68k netbsd */ +/* following definitions from next68k netbsd */#define CSR_INT 0x00800000#define CSR_DATA 0x00400000
hw/m68k/virt.c +1 -1
@@ -1,7 +1,7 @@/* * SPDX-License-Identifier: GPL-2.0-or-later * -* QEMU Vitual M68K Machine +* QEMU Virtual M68K Machine * * (c) 2020 Laurent Vivier <[email protected]> *
hw/mem/cxl_type3.c +3 -3
@@ -538,7 +538,7 @@ static void ct3d_reg_write(void *opaque, hwaddr offset, uint64_t value, FIRST_ERROR_POINTER, cxl_err->type); }else {/* -* If no more errors, then follow recomendation of PCI spec +* If no more errors, then follow recommendation of PCI spec * r6.0 6.2.4.2 to set the first error pointer to a status * bit that will never be used. */
@@ -697,7 +697,7 @@ static void ct3_realize(PCIDevice *pci_dev, Error **errp)PCI_BASE_ADDRESS_MEM_TYPE_64 , &ct3d->cxl_dstate.device_registers); -/* MSI(-X) Initailization */ +/* MSI(-X) Initialization */ rc =msix_init_exclusive_bar (pci_dev, msix_num,4 ,NULL );if (rc) { goto err_address_space_free;
@@ -706,7 +706,7 @@ static void ct3_realize(PCIDevice *pci_dev, Error **errp)msix_vector_use (pci_dev, i); } -/* DOE Initailization */ +/* DOE Initialization */ pcie_doe_init (pci_dev, &ct3d->doe_cdat,0x190 , doe_cdat_prot, true,0 ); cxl_cstate->cdat.build_cdat_table = ct3_build_cdat_table;
hw/microblaze/petalogix_ml605_mmu.c +1 -1
@@ -104,7 +104,7 @@ petalogix_ml605_init(MachineState *machine) dinfo =drive_get (IF_PFLASH ,0 ,0 );/* 5th parameter 2 means bank-width -* 10th paremeter 0 means little-endian */ +* 10th parameter 0 means little-endian */ pflash_cfi01_register (FLASH_BASEADDR ,"petalogix_ml605.flash" ,FLASH_SIZE , dinfo ?blk_by_legacy_dinfo (dinfo) :NULL ,64 * KiB,2 ,0x89 ,0x18 ,0x0000 ,0x0 ,0 );
hw/mips/malta.c +1 -1
@@ -627,7 +627,7 @@ static void bl_setup_gt64120_jump_kernel(void **p, uint64_t run_addr, 10, 10, 11, 11 /* PIIX IRQRC[A:D] */ }; -/* Bus endianess is always reversed */ +/* Bus endianness is always reversed */ #if TARGET_BIG_ENDIAN #define cpu_to_gt32 (x) (x)#else
hw/misc/allwinner-r40-dramc.c +1 -1
@@ -368,7 +368,7 @@ static const MemoryRegionOps allwinner_r40_detect_ops = {/* * mctl_r40_detect_rank_count in u-boot will write the high 1G of DDR -* to detect wether the board support dual_rank or not. Create a virtual memory +* to detect whether the board support dual_rank or not. Create a virtual memory * if the board's ram_size less or equal than 1G, and set read time out flag of * REG_DRAMCTL_PGSR when the user touch this high dram. */
hw/misc/exynos4210_rng.c +1 -1
@@ -1,5 +1,5 @@/* -* Exynos4210 Pseudo Random Nubmer Generator Emulation +* Exynos4210 Pseudo Random Number Generator Emulation * * Copyright (c) 2017 Krzysztof Kozlowski <[email protected]> *
hw/misc/imx7_ccm.c +1 -1
@@ -227,7 +227,7 @@ static uint32_t imx7_ccm_get_clock_frequency(IMXCCMState *dev, IMXClk clock)* have fixed frequencies and we can provide requested frequency * easily. However for CCM provided clocks (like IPG) each GPT * timer can have its own clock root. -* This means we need additionnal information when calling this +* This means we need additional information when calling this * function to know the requester's identity. */ uint32_t freq =0 ;
hw/misc/mac_via.c +1 -1
@@ -246,7 +246,7 @@#define vT2CL 0x1000/* [VIA only] Timer two counter low. */ #define vT2CH 0x1200/* [VIA only] Timer two counter high. */ #define vSR 0x1400/* [VIA only] Shift register. */ -#define vACR 0x1600/* [VIA only] Auxilary control register. */ +#define vACR 0x1600/* [VIA only] Auxiliary control register. */ #define vPCR 0x1800/* [VIA only] Peripheral control register. */ /* * CHRP sez never ever to *write* this.
hw/misc/stm32f2xx_syscfg.c +2 -2
@@ -94,12 +94,12 @@ static void stm32f2xx_syscfg_write(void *opaque, hwaddr addr,switch (addr) {case SYSCFG_MEMRMP :qemu_log_mask (LOG_UNIMP , -"%s: Changeing the memory mapping isn't supported " \ +"%s: Changing the memory mapping isn't supported " \"in QEMU\n" , __func__);return ;case SYSCFG_PMC :qemu_log_mask (LOG_UNIMP , -"%s: Changeing the memory mapping isn't supported " \ +"%s: Changing the memory mapping isn't supported " \"in QEMU\n" , __func__);return ;case SYSCFG_EXTICR1 :
hw/misc/trace-events +1 -1
@@ -155,7 +155,7 @@ stm32f4xx_syscfg_read(uint64_t addr) "reg read: addr: 0x%" PRIx64 " " stm32f4xx_syscfg_write(uint64_t addr, uint64_t data) "reg write: addr: 0x%" PRIx64 " val: 0x%" PRIx64 "" # stm32f4xx_exti.c -stm32f4xx_exti_set_irq(int irq, int leve) "Set EXTI: %d to %d" +stm32f4xx_exti_set_irq(int irq, int level) "Set EXTI: %d to %d" stm32f4xx_exti_read(uint64_t addr) "reg read: addr: 0x%" PRIx64 " " stm32f4xx_exti_write(uint64_t addr, uint64_t data) "reg write: addr: 0x%" PRIx64 " val: 0x%" PRIx64 ""
hw/misc/zynq_slcr.c +1 -1
@@ -285,7 +285,7 @@ static void zynq_slcr_compute_clocks_internal(ZynqSLCRState *s, uint64_t ps_clk) }/** -* Compute and set the ouputs clocks periods. +* Compute and set the outputs clocks periods. * But do not propagate them further. Connected clocks * will not receive any updates (See zynq_slcr_compute_clocks()) */
hw/net/cadence_gem.c +5 -5
@@ -81,8 +81,8 @@#define GEM_IPGSTRETCH (0x000000BC / 4)/* IPG Stretch reg */ #define GEM_SVLAN (0x000000C0 / 4)/* Stacked VLAN reg */ #define GEM_MODID (0x000000FC / 4)/* Module ID reg */ -#define GEM_OCTTXLO (0x00000100 / 4)/* Octects transmitted Low reg */ -#define GEM_OCTTXHI (0x00000104 / 4)/* Octects transmitted High reg */ +#define GEM_OCTTXLO (0x00000100 / 4)/* Octets transmitted Low reg */ +#define GEM_OCTTXHI (0x00000104 / 4)/* Octets transmitted High reg */ #define GEM_TXCNT (0x00000108 / 4)/* Error-free Frames transmitted */ #define GEM_TXBCNT (0x0000010C / 4)/* Error-free Broadcast Frames */ #define GEM_TXMCNT (0x00000110 / 4)/* Error-free Multicast Frame */
@@ -101,8 +101,8 @@#define GEM_LATECOLLCNT (0x00000144 / 4)/* Late Collision Frames */ #define GEM_DEFERTXCNT (0x00000148 / 4)/* Deferred Transmission Frames */ #define GEM_CSENSECNT (0x0000014C / 4)/* Carrier Sense Error Counter */ -#define GEM_OCTRXLO (0x00000150 / 4)/* Octects Received register Low */ -#define GEM_OCTRXHI (0x00000154 / 4)/* Octects Received register High */ +#define GEM_OCTRXLO (0x00000150 / 4)/* Octets Received register Low */ +#define GEM_OCTRXHI (0x00000154 / 4)/* Octets Received register High */ #define GEM_RXCNT (0x00000158 / 4)/* Error-free Frames Received */ #define GEM_RXBROADCNT (0x0000015C / 4)/* Error-free Broadcast Frames RX */ #define GEM_RXMULTICNT (0x00000160 / 4)/* Error-free Multicast Frames RX */
@@ -954,7 +954,7 @@ static ssize_t gem_receive(NetClientState *nc, const uint8_t *buf, size_t size)/* Is this destination MAC address "for us" ? */ maf =gem_mac_address_filter (s, buf);if (maf ==GEM_RX_REJECT ) { -return size;/* no, drop siliently b/c it's not an error */ +return size;/* no, drop silently b/c it's not an error */ }/* Discard packets with receive length error enabled ? */
hw/net/dp8393x.c +1 -1
@@ -551,7 +551,7 @@ static uint64_t dp8393x_read(void *opaque, hwaddr addr, unsigned int size) val = s->cam[s->regs[SONIC_CEP ] &0xf ][SONIC_CAP0 - reg]; }break ; -/* All other registers have no special contraints */ +/* All other registers have no special constraints */ default : val = s->regs[reg]; }
hw/net/e1000_regs.h +1 -1
@@ -130,7 +130,7 @@#define E1000_GCR2 0x05B64/* 3GIO Control Register 2 */ #define E1000_FFLT_DBG 0x05F04/* Debug Register */ -#define E1000_HICR 0x08F00/* Host Inteface Control */ +#define E1000_HICR 0x08F00/* Host Interface Control */ #define E1000_RXMTRL 0x0B634/* Time sync Rx EtherType and Msg Type - RW */ #define E1000_RXUDP 0x0B638/* Time Sync Rx UDP Port - RW */
hw/net/e1000x_regs.h +1 -1
@@ -839,7 +839,7 @@ union e1000_rx_desc_packet_split {#define E1000_RXD_STAT_EOP 0x02/* End of Packet */ #define E1000_RXD_STAT_IXSM 0x04/* Ignore checksum */ #define E1000_RXD_STAT_VP 0x08/* IEEE VLAN Packet */ -#define E1000_RXD_STAT_UDPCS 0x10/* UDP xsum caculated */ +#define E1000_RXD_STAT_UDPCS 0x10/* UDP xsum calculated */ #define E1000_RXD_STAT_TCPCS 0x20/* TCP xsum calculated */ #define E1000_RXD_STAT_IPCS 0x40/* IP xsum calculated */ #define E1000_RXD_STAT_PIF 0x80/* passed in-exact filter */
hw/net/fsl_etsec/rings.c +1 -1
@@ -365,7 +365,7 @@ void etsec_walk_tx_ring(eTSEC *etsec, int ring_nbr) }while (TRUE);/* Save the Buffer Descriptor Pointers to last bd that was not -* succesfully closed */ +* successfully closed */ etsec->regs[TBPTR0 + ring_nbr].value = bd_addr;/* Set transmit halt THLTx */
hw/net/igb_regs.h +2 -2
@@ -364,7 +364,7 @@ union e1000_adv_rx_desc {/* Indicates that VF is still clear to send requests */ #define E1000_VT_MSGTYPE_CTS 0x20000000#define E1000_VT_MSGINFO_SHIFT 16 -/* bits 23:16 are used for exra info for certain messages */ +/* bits 23:16 are used for extra info for certain messages */ #define E1000_VT_MSGINFO_MASK (0xFF << E1000_VT_MSGINFO_SHIFT)#define E1000_VF_RESET 0x01/* VF requests reset */
@@ -490,7 +490,7 @@ union e1000_adv_rx_desc {#define E1000_VF_MBX_INIT_DELAY 500/* usec delay between retries */ #define E1000_VT_MSGINFO_SHIFT 16 -/* bits 23:16 are used for exra info for certain messages */ +/* bits 23:16 are used for extra info for certain messages */ #define E1000_VT_MSGINFO_MASK (0xFF << E1000_VT_MSGINFO_SHIFT)#define E1000_VF_RESET 0x01/* VF requests reset */
hw/net/mcf_fec.c +1 -1
@@ -571,7 +571,7 @@ static ssize_t mcf_fec_receive(NetClientState *nc, const uint8_t *buf, size_t si size +=4 ; crc =cpu_to_be32 (crc32 (~0 , buf, size)); crc_ptr = (uint8_t *)&crc; -/* Huge frames are truncted. */ +/* Huge frames are truncated. */ if (size >FEC_MAX_FRAME_SIZE ) { size =FEC_MAX_FRAME_SIZE ; flags |=FEC_BD_TR |FEC_BD_LG ;
hw/net/rocker/rocker_fp.c +1 -1
@@ -134,7 +134,7 @@ static ssize_t fp_port_receive_iov(NetClientState *nc, const struct iovec *iov,FpPort *port =qemu_get_nic_opaque (nc);/* If the port is disabled, we want to drop this pkt -* now rather than queing it for later. We don't want +* now rather than queueing it for later. We don't want * any stale pkts getting into the device when the port * transitions to enabled. */
hw/net/rtl8139.c +1 -1
@@ -100,7 +100,7 @@ enum RTL8139_registers {MAC0 =0 ,/* Ethernet hardware address. */ MAR0 =8 ,/* Multicast filter. */ TxStatus0 =0x10 ,/* Transmit status (Four 32bit registers). C mode only */ -/* Dump Tally Conter control register(64bit). C+ mode only */ +/* Dump Tally Counter control register(64bit). C+ mode only */ TxAddr0 =0x20 ,/* Tx descriptors (also four 32bit). */ RxBuf =0x30 , ChipCmd = 0x37,
hw/net/smc91c111.c +1 -1
@@ -361,7 +361,7 @@ static void smc91c111_writeb(void *opaque, hwaddr offset,case 4 :case 5 :case 6 :case 7 :case 8 :case 9 :/* IA */ /* Not implemented. */ return ; -case 10 :/* Genral Purpose */ +case 10 :/* General Purpose */ SET_LOW (gpr, value);return ;case 11 :
hw/net/sungem.c +1 -1
@@ -1228,7 +1228,7 @@ static void sungem_mmio_mif_write(void *opaque, hwaddr addr, uint64_t val,case MIF_SMACHINE :return ;/* No actual write */ case MIF_CFG : -/* Maintain the RO MDI bits to advertize an MDIO PHY on MDI0 */ +/* Maintain the RO MDI bits to advertise an MDIO PHY on MDI0 */ val &= ~MIF_CFG_MDI1 ; val |=MIF_CFG_MDI0 ;break ;
hw/net/sunhme.c +1 -1
@@ -901,7 +901,7 @@ static void sunhme_reset(DeviceState *ds)/* Configure internal transceiver */ s->mifregs[HME_MIFI_CFG >>2 ] |=HME_MIF_CFG_MDI0 ; -/* Advetise auto, 100Mbps FD */ +/* Advertise auto, 100Mbps FD */ s->miiregs[MII_ANAR ] =MII_ANAR_TXFD ; s->miiregs[MII_BMSR ] =MII_BMSR_AUTONEG |MII_BMSR_100TX_FD |MII_BMSR_AN_COMP ;
hw/net/virtio-net.c +3 -3
@@ -1307,7 +1307,7 @@ static void virtio_net_detach_epbf_rss(VirtIONet *n)static bool virtio_net_load_ebpf (VirtIONet *n) {if (!virtio_net_attach_ebpf_to_backend (n->nic,-1 )) { -/* backend does't support steering ebpf */ +/* backend doesn't support steering ebpf */ return false; }
@@ -2046,7 +2046,7 @@ static void virtio_net_rsc_extract_unit6(VirtioNetRscChain *chain, + sizeof(struct ip6_header)); unit->tcp_hdrlen = (htons (unit->tcp->th_offset_flags) &0xF000 ) >>10 ; -/* There is a difference between payload lenght in ipv4 and v6, +/* There is a difference between payload length in ipv4 and v6, ip header is excluded in ipv6 */ unit->payload =htons (*unit->ip_plen) - unit->tcp_hdrlen; }
@@ -3795,7 +3795,7 @@ static void virtio_net_instance_init(Object *obj)/* * The default config_size is sizeof(struct virtio_net_config). -* Can be overriden with virtio_net_set_config_size. +* Can be overridden with virtio_net_set_config_size. */ n->config_size =sizeof (struct virtio_net_config ); device_add_bootindex_property(obj, &n->nic_conf.bootindex,
hw/net/vmxnet3.c +1 -1
@@ -1884,7 +1884,7 @@ vmxnet3_io_bar1_read(void *opaque, hwaddr addr, unsigned size)break ;default : -VMW_CBPRN ("Unknow read BAR1[%" PRIx64"], %d bytes" , addr, size); +VMW_CBPRN ("Unknown read BAR1[%" PRIx64"], %d bytes" , addr, size);break ; }
hw/net/vmxnet3.h +1 -1
@@ -733,7 +733,7 @@ struct Vmxnet3_TxQueueDesc {struct Vmxnet3_RxQueueDesc {struct Vmxnet3_RxQueueCtrl ctrl;struct Vmxnet3_RxQueueConf conf; -/* Driver read after a GET commad */ +/* Driver read after a GET command */ struct Vmxnet3_QueueStatus status;struct UPT1_RxStats stats;u8 __pad[88 ];/* 128 aligned */
hw/nvme/ctrl.c +3 -3
@@ -17,7 +17,7 @@* Notes on coding style * --------------------- * While QEMU coding style prefers lowercase hexadecimals in constants, the -* NVMe subsystem use thes format from the NVMe specifications in the comments +* NVMe subsystem use this format from the NVMe specifications in the comments * (i.e. 'h' suffix instead of '0x' prefix). * * Usage
@@ -730,7 +730,7 @@ static inline void nvme_sg_unmap(NvmeSg *sg) }/* -* When metadata is transfered as extended LBAs, the DPTR mapped into `sg` +* When metadata is transferred as extended LBAs, the DPTR mapped into `sg` * holds both data and metadata. This function splits the data and metadata * into two separate QSG/IOVs. */
@@ -7613,7 +7613,7 @@ static void nvme_process_db(NvmeCtrl *n, hwaddr addr, int val)/* * NVM Express v1.3d, Section 4.1 state: "If host software writes * an invalid value to the Submission Queue Tail Doorbell or -* Completion Queue Head Doorbell regiter and an Asynchronous Event +* Completion Queue Head Doorbell register and an Asynchronous Event * Request command is outstanding, then an asynchronous event is * posted to the Admin Completion Queue with a status code of * Invalid Doorbell Write Value."
hw/nvram/eeprom_at24c.c +1 -1
@@ -51,7 +51,7 @@ struct EEPROMState {bool writable;/* cells changed since last START? */ bool changed; -/* during WRITE, # of address bytes transfered */ +/* during WRITE, # of address bytes transferred */ uint8_t haveaddr;uint8_t *mem;
hw/nvram/fw_cfg.c +1 -1
@@ -877,7 +877,7 @@ static struct {/* * Any sub-page size update to these table MRs will be lost during migration, * as we use aligned size in ram_load_precopy() -> qemu_ram_resize() path. -* In order to avoid the inconsistency in sizes save them seperately and +* In order to avoid the inconsistency in sizes save them separately and * migrate over in vmstate post_load(). */ static void fw_cfg_acpi_mr_save (FWCfgState *s,const char *filename,size_t len)
hw/pci-bridge/cxl_downstream.c +1 -1
@@ -42,7 +42,7 @@ static void latch_registers(CXLDownstreamPort *dsp) CXL2_DOWNSTREAM_PORT); } -/* TODO: Look at sharing this code acorss all CXL port types */ +/* TODO: Look at sharing this code across all CXL port types */ static void cxl_dsp_dvsec_write_config (PCIDevice *dev,uint32_t addr,uint32_t val,int len) {
hw/pci-bridge/pci_expander_bridge.c +1 -1
@@ -263,7 +263,7 @@ static int pxb_map_irq_fn(PCIDevice *pci_dev, int pin)/* * First carry out normal swizzle to handle -* multple root ports on a pxb instance. +* multiple root ports on a pxb instance. */ pin =pci_swizzle_map_irq_fn (pci_dev, pin);
hw/pci-host/bonito.c +1 -1
@@ -62,7 +62,7 @@#define DPRINTF (fmt, ...)#endif -/* from linux soure code. include/asm-mips/mips-boards/bonito64.h*/ +/* from linux source code. include/asm-mips/mips-boards/bonito64.h*/ #define BONITO_BOOT_BASE 0x1fc00000#define BONITO_BOOT_SIZE 0x00100000#define BONITO_BOOT_TOP (BONITO_BOOT_BASE + BONITO_BOOT_SIZE - 1)
hw/pci-host/designware.c +2 -2
@@ -488,7 +488,7 @@ static void designware_pcie_root_realize(PCIDevice *dev, Error **errp)/* * If no inbound iATU windows are configured, HW defaults to -* letting inbound TLPs to pass in. We emulate that by exlicitly +* letting inbound TLPs to pass in. We emulate that by explicitly * configuring first inbound window to cover all of target's * address space. *
@@ -503,7 +503,7 @@ static void designware_pcie_root_realize(PCIDevice *dev, Error **errp) &designware_pci_host_msi_ops, root, "pcie-msi", 0x4);/* -* We initially place MSI interrupt I/O region a adress 0 and +* We initially place MSI interrupt I/O region a address 0 and * disable it. It'll be later moved to correct offset and enabled * in designware_pcie_root_update_msi_mapping() as a part of * initialization done by guest OS
hw/pci-host/dino.c +1 -1
@@ -1,5 +1,5 @@/* -* HP-PARISC Dino PCI chipset emulation, as in B160L and similiar machines +* HP-PARISC Dino PCI chipset emulation, as in B160L and similar machines * * (C) 2017-2019 by Helge Deller <[email protected]> *
hw/pci-host/gpex-acpi.c +2 -2
@@ -177,7 +177,7 @@ void acpi_dsdt_add_gpex(Aml *scope, struct GPEXConfig *cfg)acpi_dsdt_add_pci_route_table (dev, cfg->irq);/* -* Resources defined for PXBs are composed by the folling parts: +* Resources defined for PXBs are composed by the following parts: * 1. The resources the pci-brige/pcie-root-port need. * 2. The resources the devices behind pxb need. */
@@ -213,7 +213,7 @@ void acpi_dsdt_add_gpex(Aml *scope, struct GPEXConfig *cfg)/* * At this point crs_range_set has all the ranges used by pci -* busses *other* than PCI0. These ranges will be excluded from +* buses *other* than PCI0. These ranges will be excluded from * the PCI0._CRS. */ rbuf =aml_resource_template ();
hw/pci-host/gt64120.c +2 -2
@@ -331,9 +331,9 @@ static void gt64120_update_pci_cfgdata_mapping(GT64120State *s)/* * The setting of the MByteSwap bit and MWordSwap bit in the PCI Internal * Command Register determines how data transactions from the CPU to/from -* PCI are handled along with the setting of the Endianess bit in the CPU +* PCI are handled along with the setting of the Endianness bit in the CPU * Configuration Register. See: -* - Table 16: 32-bit PCI Transaction Endianess +* - Table 16: 32-bit PCI Transaction Endianness * - Table 158: PCI_0 Command, Offset: 0xc00 */
hw/pci-host/pnv_phb.c +1 -1
@@ -25,7 +25,7 @@* state associated with the child has an id, use it as QOM id. * Otherwise use object_typename[index] as QOM id. * -* This helper does both operations at the same time because seting +* This helper does both operations at the same time because setting * a new QOM child will erase the bus parent of the device. This happens * because object_unparent() will call object_property_del_child(), * which in turn calls the property release callback prop->release if
hw/pci-host/pnv_phb3.c +1 -1
@@ -757,7 +757,7 @@ static void pnv_phb3_translate_tve(PnvPhb3DMASpace *ds, hwaddr addr,* We only support non-translate in top window. * * TODO: Venice/Murano support it on bottom window above 4G and -* Naples suports it on everything +* Naples supports it on everything */ if (!(tve &PPC_BIT (51 ))) {phb3_error (phb,"xlate for invalid non-translate TVE" );
hw/pci-host/pnv_phb3_msi.c +1 -1
@@ -281,7 +281,7 @@ static void phb3_msi_instance_init(Object *obj) object_property_allow_set_link, OBJ_PROP_LINK_STRONG); -/* Will be overriden later */ +/* Will be overridden later */ ics->offset =0 ; }
hw/pci-host/pnv_phb4.c +3 -3
@@ -207,7 +207,7 @@ static void pnv_phb4_check_mbt(PnvPHB4 *phb, uint32_t index) start = base | (phb->regs[PHB_M64_UPPER_BITS >>3 ]); } -/* TODO: Figure out how to implemet/decode AOMASK */ +/* TODO: Figure out how to implement/decode AOMASK */ /* Check if it matches an enabled MMIO region in the PEC stack */ if (memory_region_is_mapped(&phb->mmbar0) &&
@@ -391,7 +391,7 @@ static void pnv_phb4_ioda_write(PnvPHB4 *phb, uint64_t val)case IODA3_TBL_MBT : *tptr = val; -/* Copy accross the valid bit to the other half */ +/* Copy across the valid bit to the other half */ phb->ioda_MBT[idx ^1 ] &=0x7fffffffffffffffull ; phb->ioda_MBT[idx ^1 ] |=0x8000000000000000ull & val;
@@ -1408,7 +1408,7 @@ static void pnv_phb4_msi_write(void *opaque, hwaddr addr,return ; } -/* TODO: check PE/MSI assignement */ +/* TODO: check PE/MSI assignment */ qemu_irq_pulse (phb->qirqs[src]); }
hw/pci-host/sabre.c +1 -1
@@ -386,7 +386,7 @@ static void sabre_realize(DeviceState *dev, Error **errp) sysbus_mmio_get_region(SYS_BUS_DEVICE(s->iommu), 0), 1);pci_setup_iommu (phb->bus, sabre_pci_dma_iommu, s->iommu); -/* APB secondary busses */ +/* APB secondary buses */ pci_dev =pci_new_multifunction (PCI_DEVFN (1 ,0 ),TYPE_SIMBA_PCI_BRIDGE ); s->bridgeB =PCI_BRIDGE (pci_dev);pci_bridge_map_irq (s->bridgeB,"pciB" , pci_simbaB_map_irq);
hw/pci/pcie_aer.c +1 -1
@@ -324,7 +324,7 @@ static void pcie_aer_msg_root_port(PCIDevice *dev, const PCIEAERMsg *msg)* it isn't implemented in qemu right now. * So just discard the error for now. * OS which cares of aer would receive errors via -* native aer mechanims, so this wouldn't matter. +* native aer mechanisms, so this wouldn't matter. */ }
hw/pci/shpc.c +1 -1
@@ -615,7 +615,7 @@ int shpc_init(PCIDevice *d, PCIBus *sec_bus, MemoryRegion *bar, }if (nslots >SHPC_MAX_SLOTS ||SHPC_IDX_TO_PCI (nslots) >PCI_SLOT_MAX ) { -/* TODO: report an error mesage that makes sense. */ +/* TODO: report an error message that makes sense. */ return -EINVAL ; } shpc->nslots = nslots;
hw/ppc/ppc.c +1 -1
@@ -713,7 +713,7 @@ target_ulong cpu_ppc_load_decr(CPUPPCState *env) decr =_cpu_ppc_load_decr (env, tb_env->decr_next);/* -* If large decrementer is enabled then the decrementer is signed extened +* If large decrementer is enabled then the decrementer is signed extended * to 64 bits, otherwise it is a 32 bit value. */ if (env->spr[SPR_LPCR ] &LPCR_LD ) {
hw/ppc/prep_systemio.c +1 -1
@@ -39,7 +39,7 @@#define TYPE_PREP_SYSTEMIO "prep-systemio"OBJECT_DECLARE_SIMPLE_TYPE (PrepSystemIoState,PREP_SYSTEMIO ) -/* Bit as defined in PowerPC Reference Plaform v1.1, sect. 6.1.5, p. 132 */ +/* Bit as defined in PowerPC Reference Platform v1.1, sect. 6.1.5, p. 132 */#define PREP_BIT (n) (1 << (7 - (n)))struct PrepSystemIoState {
hw/ppc/spapr.c +4 -4
@@ -2545,7 +2545,7 @@ static void spapr_set_vsmt_mode(SpaprMachineState *spapr, Error **errp)return ; } -/* Detemine the VSMT mode to use: */ +/* Determine the VSMT mode to use: */ if (vsmt_user) {if (spapr->vsmt < smp_threads) { error_setg(errp, "Cannot support VSMT mode %d"
@@ -3086,7 +3086,7 @@ static int spapr_kvm_type(MachineState *machine, const char *vm_type) {/* * The use of g_ascii_strcasecmp() for 'hv' and 'pr' is to -* accomodate the 'HV' and 'PV' formats that exists in the +* accommodate the 'HV' and 'PV' formats that exists in the * wild. The 'auto' mode is being introduced already as * lower-case, thus we don't need to bother checking for * "AUTO".
@@ -4320,7 +4320,7 @@ spapr_cpu_index_to_props(MachineState *machine, unsigned cpu_index)CPUArchId *core_slot;MachineClass *mc =MACHINE_GET_CLASS (machine); -/* make sure possible_cpu are intialized */ +/* make sure possible_cpu are initialized */ mc->possible_cpu_arch_ids (machine);/* get CPU core slot containing thread that matches cpu_index */ core_slot =spapr_find_cpu_slot (machine, cpu_index,NULL );
@@ -5011,7 +5011,7 @@ static void spapr_machine_2_12_class_options(MachineClass *mc)/* We depend on kvm_enabled() to choose a default value for the * hpt-max-page-size capability. Of course we can't do it here -* because this is too early and the HW accelerator isn't initialzed +* because this is too early and the HW accelerator isn't initialized * yet. Postpone this to machine init (see default_caps_with_cpu()). */ smc->default_caps.caps[SPAPR_CAP_HPT_MAXPAGESIZE ] =0 ;
hw/ppc/spapr_hcall.c +1 -1
@@ -1558,7 +1558,7 @@ static void hypercall_register_types(void)spapr_register_hypercall (H_GET_CPU_CHARACTERISTICS , h_get_cpu_characteristics); -/* "debugger" hcalls (also used by SLOF). Note: We do -not- differenciate +/* "debugger" hcalls (also used by SLOF). Note: We do -not- differentiate * here between the "CI" and the "CACHE" variants, they will use whatever * mapping attributes qemu is using. When using KVM, the kernel will * enforce the attributes more strongly
hw/ppc/spapr_nvdimm.c +2 -2
@@ -377,7 +377,7 @@ static target_ulong h_scm_bind_mem(PowerPCCPU *cpu, SpaprMachineState *spapr,/* * Currently continue token should be zero qemu has already bound -* everything and this hcall doesnt return H_BUSY. +* everything and this hcall doesn't return H_BUSY. */ if (continue_token >0 ) {return H_P5 ;
@@ -588,7 +588,7 @@ void spapr_nvdimm_finish_flushes(void)* Called on reset path, the main loop thread which calls * the pending BHs has gotten out running in the reset path, * finally reaching here. Other code path being guest -* h_client_architecture_support, thats early boot up. +* h_client_architecture_support, that's early boot up. */ nvdimms =nvdimm_get_device_list ();for (list = nvdimms; list; list = list->next) {
hw/ppc/spapr_pci_vfio.c +3 -3
@@ -39,7 +39,7 @@ static void spapr_phb_vfio_eeh_reenable(SpaprPhbState *sphb)void spapr_phb_vfio_reset (DeviceState *qdev) {/* -* The PE might be in frozen state. To reenable the EEH +* The PE might be in frozen state. To re-enable the EEH * functionality on it will clean the frozen state, which * ensures that the contained PCI devices will work properly * after reboot.
@@ -78,7 +78,7 @@ int spapr_phb_vfio_eeh_set_option(SpaprPhbState *sphb,* call. Now we just need to check the validity of the PCI * pass-through devices (vfio-pci) under this sphb bus. * We have already validated that all the devices under this sphb -* are from same iommu group (within same PE) before comming here. +* are from same iommu group (within same PE) before coming here. * * Prior to linux commit 98ba956f6a389 ("powerpc/pseries/eeh: * Rework device EEH PE determination") kernel would call
@@ -144,7 +144,7 @@ static void spapr_phb_vfio_eeh_clear_dev_msix(PCIBus *bus,/* * The MSIx table will be cleaned out by reset. We need -* disable it so that it can be reenabled properly. Also, +* disable it so that it can be re-enabled properly. Also, * the cached MSIx table should be cleared as it's not * reflecting the contents in hardware. */
hw/remote/machine.c +1 -1
@@ -2,7 +2,7 @@* Machine for remote device * * This machine type is used by the remote device process in multi-process -* QEMU. QEMU device models depend on parent busses, interrupt controllers, +* QEMU. QEMU device models depend on parent buses, interrupt controllers, * memory regions, etc. The remote machine type offers this environment so * that QEMU device models can be used as remote devices. *
hw/riscv/microchip_pfsoc.c +1 -1
@@ -659,7 +659,7 @@ static void microchip_icicle_kit_machine_class_init(ObjectClass *oc, void *data) mc->default_ram_id ="microchip.icicle.kit.ram" ;/* -* Map 513 MiB high memory, the mimimum required high memory size, because +* Map 513 MiB high memory, the minimum required high memory size, because * HSS will do memory test against the high memory address range regardless * of physical memory installed. *
hw/riscv/virt.c +2 -2
@@ -66,13 +66,13 @@#define VIRT_IMSIC_GROUP_MAX_SIZE (1U << IMSIC_MMIO_GROUP_MIN_SHIFT)#if VIRT_IMSIC_GROUP_MAX_SIZE < \IMSIC_GROUP_SIZE (VIRT_CPUS_MAX_BITS ,VIRT_IRQCHIP_MAX_GUESTS_BITS ) -#error "Can't accomodate single IMSIC group in address space" +#error "Can't accommodate single IMSIC group in address space"#endif #define VIRT_IMSIC_MAX_SIZE (VIRT_SOCKETS_MAX * \ VIRT_IMSIC_GROUP_MAX_SIZE)#if 0x4000000 <VIRT_IMSIC_MAX_SIZE -#error "Can't accomodate all IMSIC groups in address space" +#error "Can't accommodate all IMSIC groups in address space"#endif static const MemMapEntry virt_memmap[] = {
hw/rtc/exynos4210_rtc.c +1 -1
@@ -202,7 +202,7 @@ static void exynos4210_rtc_update_freq(Exynos4210RTCState *s,uint32_t freq; freq = s->freq; -/* set frequncy for time generator */ +/* set frequency for time generator */ s->freq =RTC_BASE_FREQ / (1 <<TICCKSEL (reg_value));if (freq != s->freq) {
hw/rx/rx62n.c +1 -1
@@ -114,7 +114,7 @@ static const uint8_t ipr_table[NR_IRQS] = { };/* -* Level triggerd IRQ list +* Level triggered IRQ list * Not listed IRQ is Edge trigger. * See "11.3.1 Interrupt Vector Table" in hardware manual. */
hw/scsi/lsi53c895a.c +1 -1
@@ -1321,7 +1321,7 @@ again: }trace_lsi_execute_script_io_selected (id, insn & (1 <<3 ) ?" ATN" :"" ); -/* ??? Linux drivers compain when this is set. Maybe +/* ??? Linux drivers complain when this is set. Maybe it only applies in low-level mode (unimplemented). lsi_script_scsi_interrupt(s, LSI_SIST0_CMP, 0); */ s->select_tag = id <<8 ;
hw/scsi/mfi.h +1 -1
@@ -65,7 +65,7 @@#define MFI_IQPH 0xc4/* Inbound queue port (high bytes) */ #define MFI_DIAG 0xf8/* Host diag */ #define MFI_SEQ 0xfc/* Sequencer offset */ -#define MFI_1078_EIM 0x80000004/* 1078 enable intrrupt mask */ +#define MFI_1078_EIM 0x80000004/* 1078 enable interrupt mask */ #define MFI_RMI 0x2/* reply message interrupt */ #define MFI_1078_RM 0x80000000/* reply 1078 message interrupt */ #define MFI_ODC 0x4/* outbound doorbell change interrupt */
hw/sd/sd.c +1 -1
@@ -1224,7 +1224,7 @@ static sd_rsp_type_t sd_normal_command(SDState *sd, SDRequest req) }break ; -/* Block read commands (Classs 2) */ +/* Block read commands (Class 2) */ case 16 :/* CMD16: SET_BLOCKLEN */ switch (sd->state) {case sd_transfer_state:
hw/sd/sdhci.c +1 -1
@@ -1805,7 +1805,7 @@ usdhc_write(void *opaque, hwaddr offset, uint64_t val, unsigned size)* on i.MX, but since it is not used by QEMU we do not care. * * We don't want to call sdhci_write(.., SDHC_TRNMOD, ...) -* here becuase it will result in a call to +* here because it will result in a call to * sdhci_send_command(s) which we don't want. * */
hw/sensor/isl_pmbus_vr.c +1 -1
@@ -101,7 +101,7 @@ static void isl_pmbus_vr_exit_reset(Object *obj) } } -/* The raa228000 uses different direct mode coefficents from most isl devices */ +/* The raa228000 uses different direct mode coefficients from most isl devices */ static void raa228000_exit_reset (Object *obj) {PMBusDevice *pmdev =PMBUS_DEVICE (obj);
hw/sensor/max34451.c +1 -1
@@ -734,7 +734,7 @@ static void max34451_init(Object *obj)/* * get and set the temperature of the internal temperature sensor in -* centidegrees Celcius i.e.: 2500 -> 25.00 C, max is 327.67 C +* centidegrees Celsius i.e.: 2500 -> 25.00 C, max is 327.67 C */ for (int i =0 ; i <MAX34451_NUM_TEMP_DEVICES ; i++) { object_property_add(obj, "temperature[*]", "uint16",
hw/sh4/sh7750_regs.h +13 -13
@@ -113,7 +113,7 @@#define SH7750_TTB SH7750_P4_REG32(SH7750_TTB_REGOFS)#define SH7750_TTB_A7 SH7750_A7_REG32(SH7750_TTB_REGOFS) -/* TLB exeption address register - TEA */ +/* TLB exception address register - TEA */ #define SH7750_TEA_REGOFS 0x00000c/* offset */ #define SH7750_TEA SH7750_P4_REG32(SH7750_TEA_REGOFS)#define SH7750_TEA_A7 SH7750_A7_REG32(SH7750_TEA_REGOFS)
@@ -183,19 +183,19 @@#define SH7750_TRA_IMM 0x000003fd/* Immediate data operand */ #define SH7750_TRA_IMM_S 2 -/* Exeption event register - EXPEVT */ +/* Exception event register - EXPEVT */ #define SH7750_EXPEVT_REGOFS 0x000024#define SH7750_EXPEVT SH7750_P4_REG32(SH7750_EXPEVT_REGOFS)#define SH7750_EXPEVT_A7 SH7750_A7_REG32(SH7750_EXPEVT_REGOFS) -#define SH7750_EXPEVT_EX 0x00000fff/* Exeption code */ +#define SH7750_EXPEVT_EX 0x00000fff/* Exception code */ #define SH7750_EXPEVT_EX_S 0/* Interrupt event register */ #define SH7750_INTEVT_REGOFS 0x000028#define SH7750_INTEVT SH7750_P4_REG32(SH7750_INTEVT_REGOFS)#define SH7750_INTEVT_A7 SH7750_A7_REG32(SH7750_INTEVT_REGOFS) -#define SH7750_INTEVT_EX 0x00000fff/* Exeption code */ +#define SH7750_INTEVT_EX 0x00000fff/* Exception code */ #define SH7750_INTEVT_EX_S 0/*
@@ -1274,15 +1274,15 @@/* * User Break Controller registers */ -#define SH7750_BARA 0x200000/* Break address regiser A */ -#define SH7750_BAMRA 0x200004/* Break address mask regiser A */ -#define SH7750_BBRA 0x200008/* Break bus cycle regiser A */ -#define SH7750_BARB 0x20000c/* Break address regiser B */ -#define SH7750_BAMRB 0x200010/* Break address mask regiser B */ -#define SH7750_BBRB 0x200014/* Break bus cycle regiser B */ -#define SH7750_BASRB 0x000018/* Break ASID regiser B */ -#define SH7750_BDRB 0x200018/* Break data regiser B */ -#define SH7750_BDMRB 0x20001c/* Break data mask regiser B */ +#define SH7750_BARA 0x200000/* Break address register A */ +#define SH7750_BAMRA 0x200004/* Break address mask register A */ +#define SH7750_BBRA 0x200008/* Break bus cycle register A */ +#define SH7750_BARB 0x20000c/* Break address register B */ +#define SH7750_BAMRB 0x200010/* Break address mask register B */ +#define SH7750_BBRB 0x200014/* Break bus cycle register B */ +#define SH7750_BASRB 0x000018/* Break ASID register B */ +#define SH7750_BDRB 0x200018/* Break data register B */ +#define SH7750_BDMRB 0x20001c/* Break data mask register B */ #define SH7750_BRCR 0x200020/* Break control register */ #define SH7750_BRCR_UDBE 0x0001/* User break debug enable bit */
hw/smbios/smbios.c +1 -1
@@ -1110,7 +1110,7 @@ void smbios_get_tables(MachineState *ms, dimm_cnt =QEMU_ALIGN_UP (current_machine->ram_size,MAX_DIMM_SZ ) /MAX_DIMM_SZ ;/* -* The offset determines if we need to keep additional space betweeen +* The offset determines if we need to keep additional space between * table 17 and table 19 header handle numbers so that they do * not overlap. For example, for a VM with larger than 8 TB guest * memory and DIMM like chunks of 16 GiB, the default space between
hw/sparc/sun4m_iommu.c +4 -4
@@ -96,10 +96,10 @@#define IOMMU_AER_SBW 0x80000000/* S-to-M asynchronous writes */ #define IOMMU_AER_MASK 0x801f000f -#define IOMMU_SBCFG0 (0x1010 >> 2)/* SBUS configration per-slot */ -#define IOMMU_SBCFG1 (0x1014 >> 2)/* SBUS configration per-slot */ -#define IOMMU_SBCFG2 (0x1018 >> 2)/* SBUS configration per-slot */ -#define IOMMU_SBCFG3 (0x101c >> 2)/* SBUS configration per-slot */ +#define IOMMU_SBCFG0 (0x1010 >> 2)/* SBUS configuration per-slot */ +#define IOMMU_SBCFG1 (0x1014 >> 2)/* SBUS configuration per-slot */ +#define IOMMU_SBCFG2 (0x1018 >> 2)/* SBUS configuration per-slot */ +#define IOMMU_SBCFG3 (0x101c >> 2)/* SBUS configuration per-slot */ #define IOMMU_SBCFG_SAB30 0x00010000/* Phys-address bit 30 when bypass enabled */ #define IOMMU_SBCFG_BA16 0x00000004/* Slave supports 16 byte bursts */
hw/ssi/xilinx_spips.c +3 -3
@@ -163,7 +163,7 @@FIELD (GQSPI_CNFG ,ENDIAN ,26 ,1 ) /* Poll timeout not implemented */FIELD (GQSPI_CNFG ,EN_POLL_TIMEOUT ,20 ,1 ) - /* QEMU doesnt care about any of these last three */ + /* QEMU doesn't care about any of these last three */ FIELD(GQSPI_CNFG, BR, 3, 3) FIELD(GQSPI_CNFG, CPH, 2, 1)FIELD (GQSPI_CNFG ,CPL ,1 ,1 )
@@ -469,7 +469,7 @@ static void xlnx_zynqmp_qspips_flush_fifo_g(XlnxZynqMPQSPIPS *s) imm =ARRAY_FIELD_EX32 (s->regs,GQSPI_GF_SNAPSHOT ,IMMEDIATE_DATA );if (!ARRAY_FIELD_EX32 (s->regs,GQSPI_GF_SNAPSHOT ,DATA_XFER )) { -/* immedate transfer */ +/* immediate transfer */ if (ARRAY_FIELD_EX32 (s->regs,GQSPI_GF_SNAPSHOT ,TRANSMIT ) ||ARRAY_FIELD_EX32 (s->regs,GQSPI_GF_SNAPSHOT ,RECIEVE )) { s->regs[R_GQSPI_DATA_STS ] =1 ;
@@ -768,7 +768,7 @@ static void xilinx_spips_check_zero_pump(XilinxSPIPS *s)*/ while (s->regs[R_TRANSFER_SIZE ] && s->rx_fifo.num + s->tx_fifo.num <RXFF_A_Q -3 ) { -/* endianess just doesn't matter when zero pumping */ +/* endianness just doesn't matter when zero pumping */ tx_data_bytes (&s->tx_fifo,0 ,4 , false); s->regs[R_TRANSFER_SIZE ] &= ~0x03ull ; s->regs[R_TRANSFER_SIZE ] -=4 ;
hw/ssi/xlnx-versal-ospi.c +1 -1
@@ -837,7 +837,7 @@ static void ospi_do_ind_read(XlnxVersalOspi *s)/* Continue to read flash until we run out of space in sram */ while (!ospi_ind_op_completed (op) && !fifo8_is_full (&s->rx_sram)) { -/* Read reqested number of bytes, max bytes limited to size of sram */ +/* Read requested number of bytes, max bytes limited to size of sram */ next_b =ind_op_next_byte (op); end_b = next_b +fifo8_num_free (&s->rx_sram); end_b =MIN (end_b,ind_op_end_byte (op));
hw/timer/etraxfs_timer.c +1 -1
@@ -236,7 +236,7 @@ static void watchdog_hit(void *opaque) {ETRAXTimerState *t = opaque;if (t->wd_hits ==0 ) { -/* real hw gives a single tick before reseting but we are +/* real hw gives a single tick before resetting but we are a bit friendlier to compensate for our slower execution. */ ptimer_set_count (t->ptimer_wd,10 );ptimer_run (t->ptimer_wd,1 );
hw/timer/i8254.c +1 -1
@@ -295,7 +295,7 @@ static void pit_reset(DeviceState *dev) }/* When HPET is operating in legacy mode, suppress the ignored timer IRQ, -* reenable it when legacy mode is left again. */ +* re-enable it when legacy mode is left again. */ static void pit_irq_control (void *opaque,int n,int enable) {PITCommonState *pit = opaque;
hw/timer/renesas_tmr.c +1 -1
@@ -115,7 +115,7 @@ static int elapsed_time(RTMRState *tmr, int ch, int64_t delta) et = tmr->div_round[ch] / divrate; tmr->div_round[ch] %= divrate; }else { -/* disble clock. so no update */ +/* disable clock. so no update */ et =0 ; }return et;
hw/tpm/tpm_tis.h +1 -1
@@ -19,7 +19,7 @@* specification. * * TPM TIS for TPM 2 implementation following TCG PC Client Platform -* TPM Profile (PTP) Specification, Familiy 2.0, Revision 00.43 +* TPM Profile (PTP) Specification, Family 2.0, Revision 00.43 */ #ifndef TPM_TPM_TIS_H #define TPM_TPM_TIS_H
hw/tpm/tpm_tis_common.c +1 -1
@@ -20,7 +20,7 @@* specification. * * TPM TIS for TPM 2 implementation following TCG PC Client Platform -* TPM Profile (PTP) Specification, Familiy 2.0, Revision 00.43 +* TPM Profile (PTP) Specification, Family 2.0, Revision 00.43 */ #include "qemu/osdep.h" #include "hw/irq.h"
hw/tpm/tpm_tis_i2c.c +2 -2
@@ -13,7 +13,7 @@* Family 2.0, Level 00, Revision 1.00 * * TPM TIS for TPM 2 implementation following TCG PC Client Platform -* TPM Profile (PTP) Specification, Familiy 2.0, Revision 00.43 +* TPM Profile (PTP) Specification, Family 2.0, Revision 00.43 * */
@@ -507,7 +507,7 @@ static void tpm_tis_i2c_realizefn(DeviceState *dev, Error **errp) }/* -* Get the backend pointer. It is not initialized propery during +* Get the backend pointer. It is not initialized properly during * device_class_set_props */ s->be_driver =qemu_find_tpm_be ("tpm0" );
hw/tpm/tpm_tis_isa.c +1 -1
@@ -19,7 +19,7 @@* specification. * * TPM TIS for TPM 2 implementation following TCG PC Client Platform -* TPM Profile (PTP) Specification, Familiy 2.0, Revision 00.43 +* TPM Profile (PTP) Specification, Family 2.0, Revision 00.43 */ #include "qemu/osdep.h"
hw/tpm/tpm_tis_sysbus.c +1 -1
@@ -19,7 +19,7 @@* specification. * * TPM TIS for TPM 2 implementation following TCG PC Client Platform -* TPM Profile (PTP) Specification, Familiy 2.0, Revision 00.43 +* TPM Profile (PTP) Specification, Family 2.0, Revision 00.43 */ #include "qemu/osdep.h"
hw/usb/ccid-card-emulated.c +1 -1
@@ -518,7 +518,7 @@ static void emulated_realize(CCIDCardState *base, Error **errp) goto out2; } -/* TODO: a passthru backened that works on local machine. third card type?*/ +/* TODO: a passthru backend that works on local machine. third card type?*/ if (card->backend ==BACKEND_CERTIFICATES ) {if (card->cert1 !=NULL && card->cert2 !=NULL && card->cert3 !=NULL ) { ret =emulated_initialize_vcard_from_certificates (card);
hw/usb/hcd-ehci.c +3 -3
@@ -1464,7 +1464,7 @@ static int ehci_process_itd(EHCIState *ehci,usb_handle_packet (dev, &ehci->ipacket);usb_packet_unmap (&ehci->ipacket, &ehci->isgl); }else { -DPRINTF ("ISOCH: attempt to addess non-iso endpoint\n" ); +DPRINTF ("ISOCH: attempt to address non-iso endpoint\n" ); ehci->ipacket.status =USB_RET_NAK ; ehci->ipacket.actual_length =0 ; }
@@ -1513,7 +1513,7 @@ static int ehci_process_itd(EHCIState *ehci,/* This state is the entry point for asynchronous schedule -* processing. Entry here consitutes a EHCI start event state (4.8.5) +* processing. Entry here constitutes a EHCI start event state (4.8.5) */ static int ehci_state_waitlisthead (EHCIState *ehci,int async) {
@@ -2458,7 +2458,7 @@ static void usb_ehci_vm_state_change(void *opaque, bool running, RunState state)/* * The schedule rebuilt from guest memory could cause the migration dest * to miss a QH unlink, and fail to cancel packets, since the unlinked QH -* will never have existed on the destination. Therefor we must flush the +* will never have existed on the destination. Therefore we must flush the * async schedule on savevm to catch any not yet noticed unlinks. */ if (state ==RUN_STATE_SAVE_VM ) {
hw/usb/hcd-ohci.c +1 -1
@@ -1355,7 +1355,7 @@ static uint32_t ohci_get_frame_remaining(OHCIState *ohci)if ((ohci->ctl &OHCI_CTL_HCFS ) !=OHCI_USB_OPERATIONAL ) {return ohci->frt <<31 ; } -/* Being in USB operational state guarnatees sof_time was set already. */ +/* Being in USB operational state guarantees sof_time was set already. */ tks =qemu_clock_get_ns (QEMU_CLOCK_VIRTUAL ) - ohci->sof_time;if (tks <0 ) { tks =0 ;
hw/usb/quirks.h +1 -1
@@ -67,7 +67,7 @@ static const struct usb_device_id usbredir_raw_serial_ids[] = { { USB_DEVICE(0x10C4, 0x800A) }, /* SPORTident BSM7-D-USB main station */ { USB_DEVICE(0x10C4, 0x803B) }, /* Pololu USB-serial converter */ { USB_DEVICE(0x10C4, 0x8044) }, /* Cygnal Debug Adapter */ - { USB_DEVICE(0x10C4, 0x804E) }, /* Software Bisque Paramount ME build-in converter */ + { USB_DEVICE(0x10C4, 0x804E) }, /* Software Bisque Paramount ME built-in converter */ { USB_DEVICE(0x10C4, 0x8053) }, /* Enfora EDG1228 */ { USB_DEVICE(0x10C4, 0x8054) }, /* Enfora GSM2228 */ { USB_DEVICE(0x10C4, 0x8066) }, /* Argussoft In-System Programmer */
hw/usb/redirect.c +1 -1
@@ -471,7 +471,7 @@ static int bufp_alloc(USBRedirDevice *dev, uint8_t *data, uint16_t len,DPRINTF ("bufpq overflow, dropping packets ep %02X\n" , ep); dev->endpoint[EP2I (ep)].bufpq_dropping_packets =1 ; } -/* Since we're interupting the stream anyways, drop enough packets to get +/* Since we're interrupting the stream anyways, drop enough packets to get back to our target buffer size */ if (dev->endpoint[EP2I (ep)].bufpq_dropping_packets) { if (dev->endpoint[EP2I(ep)].bufpq_size >
hw/usb/trace-events +1 -1
@@ -248,7 +248,7 @@ usb_set_device_feature(int addr, int feature, int ret) "dev %d, feature %d, ret # dev-hub.c usb_hub_reset(int addr) "dev %d" -usb_hub_control(int addr, int request, int value, int index, int length) "dev %d, req 0x%x, value %d, index %d, langth %d" +usb_hub_control(int addr, int request, int value, int index, int length) "dev %d, req 0x%x, value %d, index %d, length %d" usb_hub_get_port_status(int addr, int nr, int status, int changed) "dev %d, port %d, status 0x%x, changed 0x%x" usb_hub_set_port_feature(int addr, int nr, const char *f) "dev %d, port %d, feature %s" usb_hub_clear_port_feature(int addr, int nr, const char *f) "dev %d, port %d, feature %s"
hw/usb/xen-usb.c +1 -1
@@ -451,7 +451,7 @@ static int usbback_check_and_submit(struct usbback_req *usbback_req) wValue =le16_to_cpu (ctrl->wValue);/* -* When the device is first connected or resetted, USB device has no +* When the device is first connected or reset, USB device has no * address. In this initial state, following requests are sent to device * address (#0), *
hw/virtio/virtio-crypto.c +2 -2
@@ -650,7 +650,7 @@ virtio_crypto_sym_op_helper(VirtIODevice *vdev, op_info->len_to_hash = len_to_hash; op_info->cipher_start_src_offset = cipher_start_src_offset; op_info->len_to_cipher = len_to_cipher; -/* Handle the initilization vector */ +/* Handle the initialization vector */ if (op_info->iv_len >0 ) {DPRINTF ("iv_len=%" PRIu32"\n" , op_info->iv_len); op_info->iv = op_info->data + curr_size;
@@ -1273,7 +1273,7 @@ static void virtio_crypto_instance_init(Object *obj)/* * The default config_size is sizeof(struct virtio_crypto_config). -* Can be overriden with virtio_crypto_set_config_size. +* Can be overridden with virtio_crypto_set_config_size. */ vcrypto->config_size =sizeof (struct virtio_crypto_config ); }
hw/virtio/virtio-mem.c +1 -1
@@ -1090,7 +1090,7 @@ static int virtio_mem_mig_sanity_checks_post_load(void *opaque, int version_id)return -EINVAL ; }/* -* Note: Preparation for resizeable memory regions. The maximum size +* Note: Preparation for resizable memory regions. The maximum size * of the memory region must not change during migration. */ if (tmp->region_size != new_region_size) {
hw/virtio/virtio.c +1 -1
@@ -2096,7 +2096,7 @@ void virtio_queue_enable(VirtIODevice *vdev, uint32_t queue_index)* being converted to LOG_GUEST_ERROR. * if (!virtio_vdev_has_feature(vdev, VIRTIO_F_VERSION_1)) { -error_report("queue_enable is only suppported in devices of virtio " +error_report("queue_enable is only supported in devices of virtio " "1.0 or later."); } */
hw/xen/xen_pvdev.c +1 -1
@@ -89,7 +89,7 @@ char *xenstore_read_str(const char *base, const char *node) str =qemu_xen_xs_read (xenstore,0 , abspath, &len);if (str !=NULL ) {/* move to qemu-allocated memory to make sure -* callers can savely g_free() stuff. */ +* callers can safely g_free() stuff. */ ret =g_strdup (str);free (str); }
include/block/block_int-common.h +1 -1
@@ -418,7 +418,7 @@ struct BlockDriver {/** * Called to inform the driver that the set of cumulative set of used -* permissions for @bs has changed to @perm, and the set of sharable +* permissions for @bs has changed to @perm, and the set of shareable * permission to @shared. The driver can use this to propagate changes to * its children (i.e. request permissions only if a parent actually needs * them).
include/chardev/char-fe.h +2 -2
@@ -78,7 +78,7 @@ bool qemu_chr_fe_backend_open(CharBackend *be);* is not supported and will not be attempted * @opaque: an opaque pointer for the callbacks * @context: a main loop context or NULL for the default -* @set_open: whether to call qemu_chr_fe_set_open() implicitely when +* @set_open: whether to call qemu_chr_fe_set_open() implicitly when * any of the handler is non-NULL * @sync_state: whether to issue event callback with updated state *
@@ -138,7 +138,7 @@ void qemu_chr_fe_disconnect(CharBackend *be);/** * qemu_chr_fe_wait_connected: * -* Wait for characted backend to be connected, return < 0 on error or +* Wait for character backend to be connected, return < 0 on error or * if no associated Chardev. */ int qemu_chr_fe_wait_connected (CharBackend *be,Error **errp);
include/crypto/akcipher.h +1 -1
@@ -30,7 +30,7 @@ typedef struct QCryptoAkCipher QCryptoAkCipher;* qcrypto_akcipher_supports: * @opts: the asymmetric key algorithm and related options * -* Determine if asymmetric key cipher decribed with @opts is +* Determine if asymmetric key cipher described with @opts is * supported by the current configured build * * Returns: true if it is supported, false otherwise.
include/crypto/ivgen.h +2 -2
@@ -32,7 +32,7 @@* sector. * * <example> -* <title>Encrypting block data with initialiation vectors</title> +* <title>Encrypting block data with initialization vectors</title> * <programlisting> * uint8_t *data = ....data to encrypt... * size_t ndata = XXX;
@@ -147,7 +147,7 @@ QCryptoIVGen *qcrypto_ivgen_new(QCryptoIVGenAlgorithm alg,* @niv: the number of bytes in @iv * @errp: pointer to a NULL-initialized error object * -* Calculate a new initialiation vector for the data +* Calculate a new initialization vector for the data * to be stored in sector @sector. The IV will be * written into the buffer @iv of size @niv. *
include/elf.h +2 -2
@@ -1097,9 +1097,9 @@ typedef struct {#define EFA_PARISC_1_1 0x0210/* PA-RISC 1.1 big-endian. */ #define EFA_PARISC_2_0 0x0214/* PA-RISC 2.0 big-endian. */ -/* Additional section indeces. */ +/* Additional section indices. */ -#define SHN_PARISC_ANSI_COMMON 0xff00/* Section for tenatively declared +#define SHN_PARISC_ANSI_COMMON 0xff00/* Section for tentatively declared symbols in ANSI C. */ #define SHN_PARISC_HUGE_COMMON 0xff01/* Common blocks in huge model. */
include/exec/memory.h +1 -1
@@ -942,7 +942,7 @@ struct MemoryListener {* * @listener: The #MemoryListener. * @last_stage: The last stage to synchronize the log during migration. -* The caller should gurantee that the synchronization with true for +* The caller should guarantee that the synchronization with true for * @last_stage is triggered for once after all VCPUs have been stopped. */ void (*log_sync_global)(MemoryListener *listener,bool last_stage);
include/hw/acpi/aml-build.h +1 -1
@@ -277,7 +277,7 @@ void free_aml_allocator(void);* @child: element that is copied into @parent_ctx context * * Joins Aml elements together and helps to construct AML tables -* Examle of usage: +* Example of usage: * Aml *table = aml_def_block("SSDT", ...); * Aml *sb = aml_scope("\\_SB"); * Aml *dev = aml_device("PCI0");
include/hw/acpi/pc-hotplug.h +1 -1
@@ -13,7 +13,7 @@#define PC_HOTPLUG_H /* -* ONLY DEFINEs are permited in this file since it's shared +* ONLY DEFINEs are permitted in this file since it's shared * between C and ASL code. */
include/hw/acpi/vmgenid.h +1 -1
@@ -13,7 +13,7 @@#define VMGENID_FW_CFG_SIZE 4096/* Occupy a page of memory */ #define VMGENID_GUID_OFFSET 40/* allow space for -* OVMF SDT Header Probe Supressor +* OVMF SDT Header Probe Suppressor */ OBJECT_DECLARE_SIMPLE_TYPE (VmGenIdState,VMGENID )
include/hw/arm/fsl-imx7.h +1 -1
@@ -165,7 +165,7 @@ enum FslIMX7MemoryMap {* Some versions of the reference manual claim that UART2 is @ * 0x30870000, but experiments with HW + DT files in upstream * Linux kernel show that not to be true and that block is -* acutally located @ 0x30890000 +* actually located @ 0x30890000 */ FSL_IMX7_UART2_ADDR =0x30890000 , FSL_IMX7_UART3_ADDR = 0x30880000,
include/hw/boards.h +3 -3
@@ -157,7 +157,7 @@ typedef struct {* any actions to be performed by hotplug handler. * @cpu_index_to_instance_props: * used to provide @cpu_index to socket/core/thread number mapping, allowing -* legacy code to perform maping from cpu_index to topology properties +* legacy code to perform mapping from cpu_index to topology properties * Returns: tuple of socket/core/thread ids given cpu_index belongs to. * used to provide @cpu_index to socket number mapping, allowing * a machine to group CPU threads belonging to the same socket/package
@@ -210,10 +210,10 @@ typedef struct {* the rejection. If the hook is not provided, all hotplug will be * allowed. * @default_ram_id: -* Specifies inital RAM MemoryRegion name to be used for default backend +* Specifies initial RAM MemoryRegion name to be used for default backend * creation if user explicitly hasn't specified backend with "memory-backend" * property. -* It also will be used as a way to optin into "-m" option support. +* It also will be used as a way to option into "-m" option support. * If it's not set by board, '-m' will be ignored and generic code will * not create default RAM MemoryRegion. * @fixup_ram_size:
include/hw/char/avr_usart.h +1 -1
@@ -34,7 +34,7 @@#define USART_BRRH 0x05#define USART_BRRL 0x04 -/* Relevant bits in regiters. */ +/* Relevant bits in registers. */ #define USART_CSRA_RXC (1 << 7)#define USART_CSRA_TXC (1 << 6)#define USART_CSRA_DRE (1 << 5)
include/hw/clock.h +1 -1
@@ -204,7 +204,7 @@ static inline bool clock_set_ns(Clock *clk, unsigned ns)* Propagate the clock period that has been previously configured using * @clock_set(). This will update recursively all connected clocks. * It is an error to call this function on a clock which has a source. -* Note: this function must not be called during device inititialization +* Note: this function must not be called during device initialization * or migration. */ void clock_propagate (Clock *clk);
include/hw/core/tcg-cpu-ops.h +1 -1
@@ -14,7 +14,7 @@struct TCGCPUOps {/** -* @initialize: Initalize TCG state +* @initialize: Initialize TCG state * * Called when the first CPU is realized. */
include/hw/cxl/cxl_device.h +1 -1
@@ -208,7 +208,7 @@ void cxl_event_set_status(CXLDeviceState *cxl_dstate, CXLEventLogType log_type,* > is the maximum access size allowed for these registers. If this rule is not * > followed, the behavior is undefined * -* CXL 2.0 Errata F4 states futher that the layouts in the specification are +* CXL 2.0 Errata F4 states further that the layouts in the specification are * shown as greater than 128 bits, but implementations are expected to * use any size of access up to 64 bits. *
include/hw/hyperv/vmbus.h +1 -1
@@ -51,7 +51,7 @@ struct VMBusDeviceClass {uint16_t channel_flags;uint16_t mmio_size_mb; -/* Extentions to standard device callbacks */ +/* Extensions to standard device callbacks */ void (*vmdev_realize)(VMBusDevice *vdev,Error **errp);void (*vmdev_unrealize)(VMBusDevice *vdev);void (*vmdev_reset)(VMBusDevice *vdev);
include/hw/i2c/npcm7xx_smbus.h +1 -1
@@ -58,7 +58,7 @@ typedef enum NPCM7xxSMBusStatus {* @sclht: The SCL high time register. * @fif_ctl: The FIFO control register. * @fif_cts: The FIFO control status register. -* @fair_per: The fair preriod register. +* @fair_per: The fair period register. * @txf_ctl: The transmit FIFO control register. * @t_out: The SMBus timeout register. * @txf_sts: The transmit FIFO status register.
include/hw/i386/topology.h +1 -1
@@ -31,7 +31,7 @@* * This code should be compatible with AMD's "Extended Method" described at: * AMD CPUID Specification (Publication #25481) -* Section 3: Multiple Core Calcuation +* Section 3: Multiple Core Calculation * as long as: * nr_threads is set to 1; * OFFSET_IDX is assumed to be 0;
include/hw/intc/armv7m_nvic.h +1 -1
@@ -74,7 +74,7 @@ struct NVICState {*/ bool vectpending_is_s_banked;int exception_prio;/* group prio of the highest prio active exception */ -int vectpending_prio;/* group prio of the exeception in vectpending */ +int vectpending_prio;/* group prio of the exception in vectpending */ MemoryRegion sysregmem;
include/hw/misc/auxbus.h +1 -1
@@ -106,7 +106,7 @@ void aux_bus_realize(AUXBus *bus);* * Returns the reply of the request. * -* @bus Ths bus where the request happen. +* @bus The bus where the request happen. * @cmd The command requested. * @address The 20bits address of the slave. * @len The length of the read or write.
include/hw/misc/macio/pmu.h +1 -1
@@ -76,7 +76,7 @@#define PMU_INT_WAITING_CHARGER 0x01/* ??? */ #define PMU_INT_AUTO_SRQ_POLL 0x02/* ??? */ -/* Bits in the environement message (either obtained via PMU_GET_COVER, +/* Bits in the environment message (either obtained via PMU_GET_COVER, * or via PMU_INT_ENVIRONMENT on core99 */ #define PMU_ENV_LID_CLOSED 0x01/* The lid is closed */
include/hw/net/mii.h +1 -1
@@ -71,7 +71,7 @@#define MII_BMSR_JABBER (1 << 1)/* Jabber detected */ #define MII_BMSR_EXTCAP (1 << 0)/* Ext-reg capability */ -#define MII_ANAR_PAUSE_ASYM (1 << 11)/* Try for asymetric pause */ +#define MII_ANAR_PAUSE_ASYM (1 << 11)/* Try for asymmetric pause */ #define MII_ANAR_PAUSE (1 << 10)/* Try for pause */ #define MII_ANAR_TXFD (1 << 8)#define MII_ANAR_TX (1 << 7)
include/hw/pci-host/dino.h +1 -1
@@ -1,5 +1,5 @@/* -* HP-PARISC Dino PCI chipset emulation, as in B160L and similiar machines +* HP-PARISC Dino PCI chipset emulation, as in B160L and similar machines * * (C) 2017-2019 by Helge Deller <[email protected]> *
include/hw/pci/pcie_aer.h +1 -1
@@ -40,7 +40,7 @@ struct PCIEAERLog {* The specified value will be clipped down to PCIE_AER_LOG_MAX_LIMIT * to avoid unreasonable memory usage. * I bet that 128 log size would be big enough, otherwise too many errors -* for system to function normaly. But could consecutive errors occur? +* for system to function normally. But could consecutive errors occur? */ #define PCIE_AER_LOG_MAX_DEFAULT 8#define PCIE_AER_LOG_MAX_LIMIT 128
include/hw/ppc/openpic.h +1 -1
@@ -14,7 +14,7 @@ enum {OPENPIC_OUTPUT_INT =0 ,/* IRQ */ OPENPIC_OUTPUT_CINT ,/* critical IRQ */ OPENPIC_OUTPUT_MCK ,/* Machine check event */ -OPENPIC_OUTPUT_DEBUG ,/* Inconditional debug event */ +OPENPIC_OUTPUT_DEBUG ,/* Unconditional debug event */ OPENPIC_OUTPUT_RESET ,/* Core reset event */ OPENPIC_OUTPUT_NB, };
include/hw/ppc/spapr.h +1 -1
@@ -197,7 +197,7 @@ struct SpaprMachineState {SpaprResizeHpt resize_hpt;void *htab;uint32_t htab_shift; -uint64_t patb_entry;/* Process tbl registed in H_REGISTER_PROC_TBL */ +uint64_t patb_entry;/* Process tbl registered in H_REGISTER_PROC_TBL */ SpaprPendingHpt *pending_hpt;/* in-progress resize */ hwaddr rma_size;
include/hw/qdev-core.h +1 -1
@@ -35,7 +35,7 @@* * As an interim step, the #DeviceState.realized property can also be * set with qdev_realize(). In the future, devices will propagate this -* state change to their children and along busses they expose. The +* state change to their children and along buses they expose. The * point in time will be deferred to machine creation, so that values * set in @realize will not be introspectable beforehand. Therefore * devices must not create children during @realize; they should
include/hw/riscv/riscv_hart.h +1 -1
@@ -3,7 +3,7 @@* * Copyright (c) 2017 SiFive, Inc. * -* Holds the state of a heterogenous array of RISC-V harts +* Holds the state of a heterogeneous array of RISC-V harts * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License,
include/hw/s390x/s390-pci-bus.h +1 -1
@@ -184,7 +184,7 @@ enum ZpciIoatDtype {* The following states make up the "configured" meta-state: * disabled: device is configured but not enabled; transition between this * state and enabled via clp enable/disable -* enbaled: device is ready for use; transition to disabled via clp disable; +* enabled: device is ready for use; transition to disabled via clp disable; * may enter an error state * blocked: ignore all DMA and interrupts; transition back to enabled or from * error state via mpcifc
include/hw/s390x/sclp.h +1 -1
@@ -87,7 +87,7 @@* - we work on a private copy of the SCCB, since there are several length * fields, that would cause a security nightmare if we allow the guest to * alter the structure while we parse it. We cannot use ldl_p and friends -* either without doing pointer arithmetics +* either without doing pointer arithmetic * So we have to double check that all users of sclp data structures use the * right endianness wrappers. */
include/hw/ssi/xilinx_spips.h +1 -1
@@ -104,7 +104,7 @@ struct XlnxZynqMPQSPIPS {uint32_t regs[XLNX_ZYNQMP_SPIPS_R_MAX ]; -/* GQSPI has seperate tx/rx fifos */ +/* GQSPI has separate tx/rx fifos */ Fifo8 rx_fifo_g;Fifo8 tx_fifo_g;Fifo32 fifo_g;
include/hw/virtio/virtio-net.h +1 -1
@@ -109,7 +109,7 @@ typedef struct VirtioNetRscSeg {size_t size;uint16_t packets;uint16_t dup_ack; -bool is_coalesced;/* need recal ipv4 header checksum, mark here */ +bool is_coalesced;/* need recall ipv4 header checksum, mark here */ VirtioNetRscUnit unit;NetClientState *nc; } VirtioNetRscSeg;
include/hw/xen/interface/arch-x86/xen-x86_64.h +1 -1
@@ -106,7 +106,7 @@* RING1 -> RING3 kernel mode. * RING2 -> RING3 kernel mode. * RING3 -> RING3 user mode. -* However RING0 indicates that the guest kernel should return to iteself +* However RING0 indicates that the guest kernel should return to itself * directly with * orb $3,1*8(%rsp) * iretq
include/hw/xen/interface/arch-x86/xen.h +1 -1
@@ -139,7 +139,7 @@ typedef unsigned long xen_ulong_t;* The privilege level specifies which modes may enter a trap via a software * interrupt. On x86/64, since rings 1 and 2 are unavailable, we allocate * privilege levels as follows: -* Level == 0: Noone may enter +* Level == 0: No one may enter * Level == 1: Kernel may enter * Level == 2: Kernel may enter * Level == 3: Everyone may enter
include/hw/xen/interface/event_channel.h +1 -1
@@ -319,7 +319,7 @@ typedef struct evtchn_set_priority evtchn_set_priority_t;* ` enum neg_errnoval * ` HYPERVISOR_event_channel_op_compat(struct evtchn_op *op) * ` -* Superceded by new event_channel_op() hypercall since 0x00030202. +* Superseded by new event_channel_op() hypercall since 0x00030202. */ struct evtchn_op {uint32_t cmd;/* enum event_channel_op */
include/hw/xen/interface/grant_table.h +1 -1
@@ -624,7 +624,7 @@ DEFINE_XEN_GUEST_HANDLE(gnttab_cache_flush_t);/* * GNTMAP_contains_pte subflag: * 0 => This map request contains a host virtual address. -* 1 => This map request contains the machine addess of the PTE to update. +* 1 => This map request contains the machine address of the PTE to update. */ #define _GNTMAP_contains_pte (4)#define GNTMAP_contains_pte (1<<_GNTMAP_contains_pte)
include/hw/xen/interface/hvm/hvm_op.h +1 -1
@@ -354,7 +354,7 @@ struct xen_hvm_altp2m_op {#define HVMOP_altp2m_vcpu_disable_notify 13/* Get the active vcpu p2m index */ #define HVMOP_altp2m_get_p2m_idx 14 -/* Set the "Supress #VE" bit for a range of pages */ +/* Set the "Suppress #VE" bit for a range of pages */ #define HVMOP_altp2m_set_suppress_ve_multi 15/* Set visibility for a given altp2m view */ #define HVMOP_altp2m_set_visibility 16
include/hw/xen/interface/io/blkif.h +3 -3
@@ -59,7 +59,7 @@* All data in the XenStore is stored as strings. Nodes specifying numeric * values are encoded in decimal. Integer value ranges listed below are * expressed as fixed sized integer types capable of storing the conversion -* of a properly formated node string, without loss of information. +* of a properly formatted node string, without loss of information. * * Any specified default value is in effect if the corresponding XenBus node * is not present in the XenStore.
@@ -258,7 +258,7 @@* must be a power of two with a minimum value of 512. * * NOTE: Because of implementation bugs in some frontends this must be -* set to 512, unless the frontend advertizes a non-zero value +* set to 512, unless the frontend advertises a non-zero value * in its "feature-large-sector-size" xenbus node. (See below). * * physical-sector-size
@@ -415,7 +415,7 @@* further requests may reuse these grants and require write permissions. * (9) Linux implementation doesn't have a limit on the maximum number of * grants that can be persistently mapped in the frontend driver, but -* due to the frontent driver implementation it should never be bigger +* due to the frontend driver implementation it should never be bigger * than RING_SIZE * BLKIF_MAX_SEGMENTS_PER_REQUEST. *(10) The discard-secure property may be present and will be set to 1 if the * backing device supports secure discard.
include/hw/xen/interface/io/fbif.h +1 -1
@@ -89,7 +89,7 @@ union xenfb_out_event* just ignore it. Frontends that use the advice should immediately * refresh the framebuffer (and send an update notification event if * those have been requested), then use the update frequency to guide -* their periodical refreshs. +* their periodical refreshes. */ #define XENFB_TYPE_REFRESH_PERIOD 1#define XENFB_NO_REFRESH 0
include/hw/xen/interface/io/kbdif.h +1 -1
@@ -39,7 +39,7 @@* All data in XenStore is stored as strings. Nodes specifying numeric * values are encoded in decimal. Integer value ranges listed below are * expressed as fixed sized integer types capable of storing the conversion -* of a properly formated node string, without loss of information. +* of a properly formatted node string, without loss of information. * ***************************************************************************** * Backend XenBus Nodes
include/hw/xen/interface/memory.h +1 -1
@@ -184,7 +184,7 @@ struct xen_machphys_mfn_list {/* * Pointer to buffer to fill with list of extent starts. If there are -* any large discontiguities in the machine address space, 2MB gaps in +* any large discontinuities in the machine address space, 2MB gaps in * the machphys table will be represented by an MFN base of zero. */ XEN_GUEST_HANDLE (xen_pfn_t) extent_start;
include/hw/xen/interface/physdev.h +2 -2
@@ -223,7 +223,7 @@ typedef struct physdev_manage_pci_ext physdev_manage_pci_ext_t;DEFINE_XEN_GUEST_HANDLE (physdev_manage_pci_ext_t);/* -* Argument to physdev_op_compat() hypercall. Superceded by new physdev_op() +* Argument to physdev_op_compat() hypercall. Superseded by new physdev_op() * hypercall since 0x00030202. */ struct physdev_op {
@@ -349,7 +349,7 @@ DEFINE_XEN_GUEST_HANDLE(physdev_dbgp_op_t);#if __XEN_INTERFACE_VERSION__ <0x00040600 /* -* These all-capitals physdev operation names are superceded by the new names +* These all-capitals physdev operation names are superseded by the new names * (defined above) since interface version 0x00030202. The guard above was * added post-4.5 only though and hence shouldn't check for 0x00030202. */
include/hw/xen/interface/sched.h +1 -1
@@ -66,7 +66,7 @@/* * Block execution of this VCPU until an event is received for processing. * If called with event upcalls masked, this operation will atomically -* reenable event delivery and check for pending events before blocking the +* re-enable event delivery and check for pending events before blocking the * VCPU. This avoids a "wakeup waiting" race. * @arg == NULL. */
include/hw/xen/interface/xen.h +2 -2
@@ -606,7 +606,7 @@ DEFINE_XEN_GUEST_HANDLE(mmuext_op_t);#define DOMID_XEN xen_mk_uint(0x7FF2)/* -* DOMID_COW is used as the owner of sharable pages */ +* DOMID_COW is used as the owner of shareable pages */ #define DOMID_COW xen_mk_uint(0x7FF3)/* DOMID_INVALID is used to identify pages with unknown owner. */
@@ -750,7 +750,7 @@ struct shared_info {* are delivered by this mechanism: * 1. Bi-directional inter- and intra-domain connections. Domains must * arrange out-of-band to set up a connection (usually by allocating -* an unbound 'listener' port and avertising that via a storage service +* an unbound 'listener' port and advertising that via a storage service * such as xenstore). * 2. Physical interrupts. A domain with suitable hardware-access * privileges can bind an event-channel port to a physical interrupt
include/io/channel-socket.h +2 -2
@@ -124,7 +124,7 @@ void qio_channel_socket_connect_async(QIOChannelSocket *ioc,* qio_channel_socket_listen_sync: * @ioc: the socket channel object * @addr: the address to listen to -* @num: the expected ammount of connections +* @num: the expected amount of connections * @errp: pointer to a NULL-initialized error object * * Attempt to listen to the address @addr. This method
@@ -141,7 +141,7 @@ int qio_channel_socket_listen_sync(QIOChannelSocket *ioc,* qio_channel_socket_listen_async: * @ioc: the socket channel object * @addr: the address to listen to -* @num: the expected ammount of connections +* @num: the expected amount of connections * @callback: the function to invoke on completion * @opaque: user data to pass to @callback * @destroy: the function to free @opaque
include/io/task.h +1 -1
@@ -145,7 +145,7 @@ typedef void (*QIOTaskWorker)(QIOTask *task,* The QIOTask module can also be used to perform operations * in a background thread context, while still reporting the * results in the main event thread. This allows code which -* cannot easily be rewritten to be asychronous (such as DNS +* cannot easily be rewritten to be asynchronous (such as DNS * lookups) to be easily run non-blocking. Reporting the * results in the main thread context means that the caller * typically does not need to be concerned about thread
include/qemu/iova-tree.h +2 -2
@@ -15,7 +15,7 @@* Currently the iova tree will only allow to keep ranges * information, and no extra user data is allowed for each element. A * benefit is that we can merge adjacent ranges internally within the -* tree. It can save a lot of memory when the ranges are splitted but +* tree. It can save a lot of memory when the ranges are split but * mostly continuous. * * Note that current implementation does not provide any thread
@@ -128,7 +128,7 @@ const DMAMap *iova_tree_find_address(const IOVATree *tree, hwaddr iova);* iova_tree_foreach: * * @tree: the iova tree to iterate on -* @iterator: the interator for the mappings, return true to stop +* @iterator: the iterator for the mappings, return true to stop * * Iterate over the iova tree. *
include/qemu/timer.h +1 -1
@@ -353,7 +353,7 @@ void timerlist_notify(QEMUTimerList *timer_list);* Initialise a timer list group. This must already be * allocated in memory and zeroed. The notifier callback is * called whenever a clock in the timer list group is -* reenabled or whenever a timer associated with any timer +* re-enabled or whenever a timer associated with any timer * list is modified. If @cb is specified as null, qemu_notify() * is used instead. */
include/qemu/yank.h +1 -1
@@ -25,7 +25,7 @@ typedef void (YankFn)(void *opaque);* @instance: The instance. * @errp: Error object. * -* Returns true on success or false if an error occured. +* Returns true on success or false if an error occurred. */ bool yank_register_instance (const YankInstance *instance,Error **errp);
include/standard-headers/drm/drm_fourcc.h +4 -4
@@ -53,7 +53,7 @@ extern "C" {* Format modifiers may change any property of the buffer, including the number * of planes and/or the required allocation size. Format modifiers are * vendor-namespaced, and as such the relationship between a fourcc code and a -* modifier is specific to the modifer being used. For example, some modifiers +* modifier is specific to the modifier being used. For example, some modifiers * may preserve meaning - such as number of planes - from the fourcc code, * whereas others may not. *
@@ -78,7 +78,7 @@ extern "C" {* format. * - Higher-level programs interfacing with KMS/GBM/EGL/Vulkan/etc: these users * see modifiers as opaque tokens they can check for equality and intersect. -* These users musn't need to know to reason about the modifier value +* These users mustn't need to know to reason about the modifier value * (i.e. they are not expected to extract information out of the modifier). * * Vendors should document their modifier usage in as much detail as
@@ -537,7 +537,7 @@ extern "C" {* This is a tiled layout using 4Kb tiles in row-major layout. * Within the tile pixels are laid out in 16 256 byte units / sub-tiles which * are arranged in four groups (two wide, two high) with column-major layout. -* Each group therefore consits out of four 256 byte units, which are also laid +* Each group therefore consists out of four 256 byte units, which are also laid * out as 2x2 column-major. * 256 byte units are made out of four 64 byte blocks of pixels, producing * either a square block or a 2:1 unit.
@@ -1416,7 +1416,7 @@ drm_fourcc_canonicalize_nvidia_format_mod(uint64_t modifier)* Amlogic FBC Memory Saving mode * * Indicates the storage is packed when pixel size is multiple of word -* boudaries, i.e. 8bit should be stored in this mode to save allocation +* boundaries, i.e. 8bit should be stored in this mode to save allocation * memory. * * This mode reduces body layout to 3072 bytes per 64x32 superblock with
include/standard-headers/linux/ethtool.h +1 -1
@@ -569,7 +569,7 @@ struct ethtool_channels {* @tx_pause: Flag to enable transmission of pause frames * * Drivers should reject a non-zero setting of @autoneg when -* autoneogotiation is disabled (or not supported) for the link. +* autonegotiation is disabled (or not supported) for the link. * * If the link is autonegotiated, drivers should use * mii_advertise_flowctrl() or similar code to set the advertised
include/standard-headers/linux/virtio_console.h +1 -1
@@ -44,7 +44,7 @@#define VIRTIO_CONSOLE_BAD_ID (~(uint32_t)0)struct virtio_console_config { -/* colums of the screens */ +/* columns of the screens */ __virtio16 cols;/* rows of the screens */ __virtio16 rows;
include/standard-headers/linux/virtio_i2c.h +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: GPL-2.0-or-later WITH Linux-syscall-note */ /* -* Definitions for virtio I2C Adpter +* Definitions for virtio I2C Adapter * * Copyright (c) 2021 Intel Corporation. All rights reserved. */
include/standard-headers/linux/virtio_net.h +2 -2
@@ -267,7 +267,7 @@ struct virtio_net_ctrl_mac {* Control VLAN filtering * * The VLAN filter table is controlled via a simple ADD/DEL interface. -* VLAN IDs not added may be filterd by the hypervisor. Del is the +* VLAN IDs not added may be filtered by the hypervisor. Del is the * opposite of add. Both commands expect an out entry containing a 2 * byte VLAN ID. VLAN filterting is available with the * VIRTIO_NET_F_CTRL_VLAN feature bit.
@@ -280,7 +280,7 @@ struct virtio_net_ctrl_mac {* Control link announce acknowledgement * * The command VIRTIO_NET_CTRL_ANNOUNCE_ACK is used to indicate that -* driver has recevied the notification; device would clear the +* driver has received the notification; device would clear the * VIRTIO_NET_S_ANNOUNCE bit in the status field after it receives * this command. */
include/sysemu/cryptodev-vhost.h +1 -1
@@ -79,7 +79,7 @@ cryptodev_vhost_init(* cryptodev_vhost_cleanup: * @crypto: the cryptodev backend common vhost object * -* Clean the resouce associated with @crypto that realizaed +* Clean the resource associated with @crypto that realizaed * by cryptodev_vhost_init() * */
include/sysemu/cryptodev.h +3 -3
@@ -339,7 +339,7 @@ void cryptodev_backend_free_client(* @backend: the cryptodev backend object * @errp: pointer to a NULL-initialized error object * -* Clean the resouce associated with @backend that realizaed +* Clean the resource associated with @backend that realizaed * by the specific backend's init() callback */ void cryptodev_backend_cleanup(
@@ -407,7 +407,7 @@ int cryptodev_backend_crypto_operation(/** * cryptodev_backend_set_used: * @backend: the cryptodev backend object -* @used: ture or false +* @used: true or false * * Set the cryptodev backend is used by virtio-crypto or not */
@@ -427,7 +427,7 @@ bool cryptodev_backend_is_used(CryptoDevBackend *backend);/** * cryptodev_backend_set_ready: * @backend: the cryptodev backend object -* @ready: ture or false +* @ready: true or false * * Set the cryptodev backend is ready or not, which is called * by the children of the cryptodev banckend interface.
include/sysemu/iothread.h +1 -1
@@ -59,7 +59,7 @@ void iothread_stop(IOThread *iothread);void iothread_destroy (IOThread *iothread);/* -* Returns true if executing withing IOThread context, +* Returns true if executing within IOThread context, * false otherwise. */ bool qemu_in_iothread (void );
include/sysemu/stats.h +1 -1
@@ -34,7 +34,7 @@ void add_stats_schema(StatsSchemaList **, StatsProvider, StatsTarget, StatsSchemaValueList *);/* -* True if a string matches the filter passed to the stats_fn callabck, +* True if a string matches the filter passed to the stats_fn callback, * false otherwise. * * Note that an empty list means no filtering, i.e. all strings will
include/sysemu/tpm_backend.h +1 -1
@@ -115,7 +115,7 @@ int tpm_backend_startup_tpm(TPMBackend *s, size_t buffersize);/** * tpm_backend_had_startup_error: -* @s: the backend to query for a statup error +* @s: the backend to query for a startup error * * Check whether the backend had an error during startup. Returns * false if no error occurred and the backend can be used, true
include/tcg/helper-info.h +1 -1
@@ -1,5 +1,5 @@/* -* TCG Helper Infomation Structure +* TCG Helper Information Structure * * Copyright (c) 2023 Linaro Ltd *
include/tcg/tcg.h +2 -2
@@ -879,7 +879,7 @@ enum {/* Instruction operands are 64-bits (otherwise 32-bits). */ TCG_OPF_64BIT =0x10 ,/* Instruction is optional and not implemented by the host, or insn -is generic and should not be implemened by the host. */ +is generic and should not be implemented by the host. */ TCG_OPF_NOT_PRESENT =0x20 ,/* Instruction operands are vectors. */ TCG_OPF_VECTOR = 0x40,
@@ -1123,7 +1123,7 @@ static inline int tcg_can_emit_vec_op(TCGOpcode o, TCGType t, unsigned ve)/* Expand the tuple (opc, type, vece) on the given arguments. */ void tcg_expand_vec_op (TCGOpcode ,TCGType ,unsigned ,TCGArg , ...); -/* Replicate a constant C accoring to the log2 of the element size. */ +/* Replicate a constant C according to the log2 of the element size. */ uint64_t dup_const (unsigned vece,uint64_t c);#define dup_const (VECE ,C ) \
include/ui/kbd-state.h +1 -1
@@ -65,7 +65,7 @@ void qkbd_state_key_event(QKbdState *kbd, QKeyCode qcode, bool down);* using qemu_input_event_send_key_delay(). * * @kbd: state tracker state. -* @delay_ms: the delay in miliseconds. +* @delay_ms: the delay in milliseconds. */ void qkbd_state_set_delay (QKbdState *kbd,int delay_ms);
include/ui/spice-display.h +1 -1
@@ -42,7 +42,7 @@#define NUM_MEMSLOTS_GROUPS 2/* -* Internal enum to differenciate between options for +* Internal enum to differentiate between options for * io calls that have a sync (old) version and an _async (new) * version: * QXL_SYNC: use the old version
include/user/safe-syscall.h +1 -1
@@ -91,7 +91,7 @@* * The basic setup is that we make the host syscall via a known * section of host native assembly. If a signal occurs, our signal -* handler checks the interrupted host PC against the addresse of that +* handler checks the interrupted host PC against the address of that * known section. If the PC is before or at the address of the syscall * instruction then we change the PC to point at a "return * -QEMU_ERESTARTSYS" code path instead, and then exit the signal handler
linux-user/elfload.c +1 -1
@@ -2717,7 +2717,7 @@ static void pgb_static(const char *image_name, abi_ulong orig_loaddr,/* * Extend the allocation to include the commpage. * For a 64-bit host, this is just 4GiB; for a 32-bit host we -* need to ensure there is space bellow the guest_base so we +* need to ensure there is space below the guest_base so we * can map the commpage in the place needed when the address * arithmetic wraps around. */
linux-user/flatload.c +1 -1
@@ -780,7 +780,7 @@ int load_flt_binary(struct linux_binprm *bprm, struct image_info *info)/* Enforce final stack alignment of 16 bytes. This is sufficient for all current targets, and excess alignment is harmless. */ stack_len = bprm->envc + bprm->argc +2 ; - stack_len +=flat_argvp_envp_on_stack () ?2 :0 ;/* arvg, argp */ + stack_len +=flat_argvp_envp_on_stack () ?2 :0 ;/* argv, argp */ stack_len +=1 ;/* argc */ stack_len *=sizeof (abi_ulong); sp -= (sp - stack_len) &15 ;
linux-user/syscall.c +3 -3
@@ -836,7 +836,7 @@ abi_long do_brk(abi_ulong brk_val)return target_brk; } -/* Release heap if necesary */ +/* Release heap if necessary */ if (new_brk < target_brk) {/* empty remaining bytes in (possibly larger) host page */ memset (g2h_untagged (brk_val),0 , new_host_brk_page - brk_val);
@@ -1845,7 +1845,7 @@ static inline abi_long target_to_host_cmsg(struct msghdr *msgh,uint32_t *dst = (uint32_t *)data;memcpy (dst, target_data, len); -/* fix endianess of first 32-bit word */ +/* fix endianness of first 32-bit word */ if (len >=sizeof (uint32_t )) { *dst =tswap32 (*dst); }
@@ -2956,7 +2956,7 @@ get_timeout:unlock_user (results, optval_addr,0 );return ret; } -/* swap host endianess to target endianess. */ +/* swap host endianness to target endianness. */ for (i =0 ; i < (len /sizeof (uint32_t )); i++) { results[i] =tswap32 (results[i]); }
migration/migration-stats.c +1 -1
@@ -48,7 +48,7 @@ uint64_t migration_rate_get(void)void migration_rate_set (uint64_t limit) {/* -* 'limit' is per second. But we check it each BUFER_DELAY miliseconds. +* 'limit' is per second. But we check it each BUFER_DELAY milliseconds. */ stat64_set (&mig_stats.rate_limit_max, limit /XFER_LIMIT_RATIO ); }
migration/migration.h +2 -2
@@ -134,7 +134,7 @@ struct MigrationIncomingState {/* * Always set by the main vm load thread only, but can be read by the * postcopy preempt thread. "volatile" makes sure all reads will be -* uptodate across cores. +* up-to-date across cores. */ volatile PreemptThreadStatus preempt_thread_status;/*
@@ -409,7 +409,7 @@ struct MigrationState {* channel itself. * * - postcopy preempt channel will be created at the switching phase -* from precopy -> postcopy (to avoid race condtion of misordered +* from precopy -> postcopy (to avoid race condition of misordered * creation of channels). * * NOTE: See message-id <ZBoShWArKDPpX/D7@work-vm> on qemu-devel
migration/multifd-zlib.c +1 -1
@@ -57,7 +57,7 @@ static int zlib_send_setup(MultiFDSendParams *p, Error **errp) err_msg ="deflate init failed" ; goto err_free_z; } -/* This is the maxium size of the compressed buffer */ +/* This is the maximum size of the compressed buffer */ z->zbuff_len =compressBound (MULTIFD_PACKET_SIZE ); z->zbuff =g_try_malloc (z->zbuff_len);if (!z->zbuff) {
migration/multifd-zstd.c +1 -1
@@ -68,7 +68,7 @@ static int zstd_send_setup(MultiFDSendParams *p, Error **errp) p->id, ZSTD_getErrorName(res));return -1 ; } -/* This is the maxium size of the compressed buffer */ +/* This is the maximum size of the compressed buffer */ z->zbuff_len =ZSTD_compressBound (MULTIFD_PACKET_SIZE ); z->zbuff =g_try_malloc (z->zbuff_len);if (!z->zbuff) {
migration/multifd.c +1 -1
@@ -878,7 +878,7 @@ static void multifd_new_send_channel_cleanup(MultiFDSendParams *p,qemu_sem_post (&p->sem_sync);/* * Although multifd_send_thread is not created, but main migration -* thread neet to judge whether it is running, so we need to mark +* thread need to judge whether it is running, so we need to mark * its status. */ p->quit = true;
migration/savevm.c +1 -1
@@ -117,7 +117,7 @@ static struct mig_cmd_args {* The format of arguments is depending on postcopy mode: * - postcopy RAM only * uint64_t host page size -* uint64_t taget page size +* uint64_t target page size * * - postcopy RAM and postcopy dirty bitmaps * format is the same as for postcopy RAM only
migration/trace-events +1 -1
@@ -184,7 +184,7 @@ source_return_path_thread_shut(uint32_t val) "0x%x" source_return_path_thread_resume_ack(uint32_t v) "%"PRIu32 source_return_path_thread_switchover_acked(void) "" migration_thread_low_pending(uint64_t pending) "%" PRIu64 -migrate_transferred(uint64_t tranferred, uint64_t time_spent, uint64_t bandwidth, uint64_t size) "transferred %" PRIu64 " time_spent %" PRIu64 " bandwidth %" PRIu64 " max_size %" PRId64 +migrate_transferred(uint64_t transferred, uint64_t time_spent, uint64_t bandwidth, uint64_t size) "transferred %" PRIu64 " time_spent %" PRIu64 " bandwidth %" PRIu64 " max_size %" PRId64 process_incoming_migration_co_end(int ret, int ps) "ret=%d postcopy-state=%d" process_incoming_migration_co_postcopy_end_main(void) "" postcopy_preempt_enabled(bool value) "%d"
nbd/client-connection.c +1 -1
@@ -197,7 +197,7 @@ static void *connect_thread_func(void *opaque)* conn->updated_info will finally be returned to the user. Clear the * pointers to our internally allocated strings, which are IN parameters * of nbd_receive_negotiate() and therefore nbd_connect(). Caller -* shoudn't be interested in these fields. +* shouldn't be interested in these fields. */ conn->updated_info.x_dirty_bitmap =NULL ; conn->updated_info.name =NULL ;
net/checksum.c +2 -2
@@ -74,7 +74,7 @@ void net_checksum_calculate(uint8_t *data, int length, int csum_flag)return ; } -/* Handle the optionnal VLAN headers */ +/* Handle the optional VLAN headers */ switch (lduw_be_p (&PKT_GET_ETH_HDR (data)->h_proto)) {case ETH_P_VLAN : mac_hdr_len = sizeof(struct eth_header) +
@@ -96,7 +96,7 @@ void net_checksum_calculate(uint8_t *data, int length, int csum_flag) length -= mac_hdr_len; -/* Now check we have an IP header (with an optionnal VLAN header) */ +/* Now check we have an IP header (with an optional VLAN header) */ if (length <sizeof (struct ip_header )) {return ; }
net/filter.c +2 -2
@@ -92,7 +92,7 @@ ssize_t qemu_netfilter_pass_to_next(NetClientState *sender,while (next) {/* * if qemu_netfilter_pass_to_next been called, means that -* the packet has been hold by filter and has already retured size +* the packet has been hold by filter and has already returned size * to the sender, so sent_cb shouldn't be called later, just * pass NULL to next. */
@@ -106,7 +106,7 @@ ssize_t qemu_netfilter_pass_to_next(NetClientState *sender,/* * We have gone through all filters, pass it to receiver. -* Do the valid check again incase sender or receiver been +* Do the valid check again in case sender or receiver been * deleted while we go through filters. */ if (sender && sender->peer) {
net/vhost-vdpa.c +4 -4
@@ -821,7 +821,7 @@ static int vhost_vdpa_net_load_rx(VhostVDPAState *s,* According to virtio_net_reset(), device turns promiscuous mode * on by default. * -* Addtionally, according to VirtIO standard, "Since there are +* Additionally, according to VirtIO standard, "Since there are * no guarantees, it can use a hash filter or silently switch to * allmulti or promiscuous mode if it is given too many addresses.". * QEMU marks `n->mac_table.uni_overflow` if guest sets too many
@@ -1130,7 +1130,7 @@ static int vhost_vdpa_net_excessive_mac_filter_cvq_add(VhostVDPAState *s,* Pack the non-multicast MAC addresses part for fake CVQ command. * * According to virtio_net_handle_mac(), QEMU doesn't verify the MAC -* addresses provieded in CVQ command. Therefore, only the entries +* addresses provided in CVQ command. Therefore, only the entries * field need to be prepared in the CVQ command. */ mac_ptr = out->iov_base + cursor;
@@ -1141,7 +1141,7 @@ static int vhost_vdpa_net_excessive_mac_filter_cvq_add(VhostVDPAState *s,* Pack the multicast MAC addresses part for fake CVQ command. * * According to virtio_net_handle_mac(), QEMU doesn't verify the MAC -* addresses provieded in CVQ command. Therefore, only the entries +* addresses provided in CVQ command. Therefore, only the entries * field need to be prepared in the CVQ command. */ mac_ptr = out->iov_base + cursor;
@@ -1202,7 +1202,7 @@ static int vhost_vdpa_net_handle_ctrl_avail(VhostShadowVirtqueue *svq,* rejects the flawed CVQ command. * * Therefore, QEMU must handle this situation instead of sending -* the CVQ command direclty. +* the CVQ command directly. */ dev_written =vhost_vdpa_net_excessive_mac_filter_cvq_add (s, elem, &out);
qga/channel-posix.c +1 -1
@@ -152,7 +152,7 @@ static gboolean ga_channel_open(GAChannel *c, const gchar *path,#ifdef __FreeBSD__/* * In the default state channel sends echo of every command to a -* client. The client programm doesn't expect this and raises an +* client. The client program doesn't expect this and raises an * error. Suppress echo by resetting ECHO terminal flag. */ struct termios tio;
qga/commands-posix-ssh.c +1 -1
@@ -382,7 +382,7 @@ test_add_keys(void) &err);g_assert (err ==NULL ); -/* key2 came first, and should'nt be duplicated */ +/* key2 came first, and shouldn't be duplicated */ test_authorized_keys_equal ("algo key2 comments\n" "algo key1 comments" ); }
qga/commands-posix.c +1 -1
@@ -3249,7 +3249,7 @@ GuestUserList *qmp_guest_get_users(Error **errp)#endif -/* Replace escaped special characters with theire real values. The replacement +/* Replace escaped special characters with their real values. The replacement * is done in place -- returned value is in the original string. */ static void ga_osrelease_replace_special (gchar *value)
qga/commands-win32.c +2 -2
@@ -487,7 +487,7 @@ static GuestDiskBusType win2qemu[] = { [BusTypeVirtual] = GUEST_DISK_BUS_TYPE_VIRTUAL, [BusTypeFileBackedVirtual] = GUEST_DISK_BUS_TYPE_FILE_BACKED_VIRTUAL,/* -* BusTypeSpaces currently is not suported +* BusTypeSpaces currently is not supported */ [BusTypeSpaces] = GUEST_DISK_BUS_TYPE_UNKNOWN, [BusTypeNvme] = GUEST_DISK_BUS_TYPE_NVME,
@@ -2259,7 +2259,7 @@ static char *ga_get_win_product_name(Error **errp) } }if (err !=ERROR_SUCCESS ) { -error_setg_win32 (errp, err,"failed to retrive ProductName" ); +error_setg_win32 (errp, err,"failed to retrieve ProductName" ); goto fail; }
qga/main.c +1 -1
@@ -1333,7 +1333,7 @@ static bool check_is_frozen(GAState *s)/* check if a previous instance of qemu-ga exited with filesystems' state * marked as frozen. this could be a stale value (a non-qemu-ga process * or reboot may have since unfrozen them), but better to require an -* uneeded unfreeze than to risk hanging on start-up +* unneeded unfreeze than to risk hanging on start-up */ struct stat st;if (stat (s->state_filepath_isfrozen, &st) ==-1 ) {
qga/vss-win32/install.cpp +2 -2
@@ -343,7 +343,7 @@ STDAPI COMRegister(void) _bstr_t(dllPath), _bstr_t(tlbPath), _bstr_t(""))); - /* Setup roles of the applicaion */ + /* Setup roles of the application */ chk(getNameByStringSID(administratorsGroupSID, buffer, &bufferLen)); chk(pApps->GetCollection(_bstr_t(L"Roles"), key,
@@ -439,7 +439,7 @@ STDAPI DllRegisterServer(void) goto out; } - /* Add this module to registery */ + /* Add this module to registry */
Lines of this file are not shown. View the raw message.
scripts/codeconverter/codeconverter/qom_macros.py +1 -1
Lines of this file are not shown. View the raw message.
scripts/oss-fuzz/minimize_qtest_trace.py +4 -4
Lines of this file are not shown. View the raw message.
target/hexagon/idef-parser/idef-parser.h +1 -1
Lines of this file are not shown. View the raw message.
target/hexagon/idef-parser/parser-helpers.c +3 -3
Lines of this file are not shown. View the raw message.
target/riscv/insn_trans/trans_rvf.c.inc +2 -2
Lines of this file are not shown. View the raw message.
target/riscv/insn_trans/trans_rvv.c.inc +2 -2
Lines of this file are not shown. View the raw message.
target/riscv/insn_trans/trans_rvzfh.c.inc +2 -2
Lines of this file are not shown. View the raw message.
tests/avocado/acpi-bits/bits-tests/testacpi.py2 +2 -2
Lines of this file are not shown. View the raw message.
tests/decode/err_pattern_group_ident2.decode +1 -1
Lines of this file are not shown. View the raw message.
tests/tcg/multiarch/system/Makefile.softmmu-target +1 -1
Lines of this file are not shown. View the raw message.
tests/unit/test-qobject-input-visitor.c +1 -1
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
Signature · 1 line
2.39.2
Part of the diff is not shown here. View the raw message.
Re: [PATCH] treewide: spelling fixes in comments and some strings
Quoted 2 lines · Michael Tokarev
--- accel/tcg/tb-maint.c | 2 +-
..
This one shouldnt've been sent, it is the whole patch before splitting to individual pieces.
/mjt
Re: [PATCH] treewide: spelling fixes in comments and some strings
In reply to Michael Tokarevhw/ppc/spapr_pci_vfio.c static void spapr_phb_vfio_eeh_reenable(SpaprPhbState *sphb) · line 45
Quoted 13 lines · On Fri, 14 Jul 2023 14:38:06 +0300 Michael Tokarev <[email protected]> wrote:
hw/ppc/spapr_pci_vfio.c +1
-1@@ -39,7 +39,7 @@ static void spapr_phb_vfio_eeh_reenable(SpaprPhbState *sphb)void spapr_phb_vfio_reset (DeviceState *qdev) {/* -* The PE might be in frozen state. To reenable the EEH +* The PE might be in frozen state. To re-enable the EEH * functionality on it will clean the frozen state, which * ensures that the contained PCI devices will work properly * after reboot.
This looks like personal preference, I can't actually find a source that indicates "reenable" is anything other than a valid alternative of "re-enable". Thanks,
Alex
Re: [PATCH] treewide: spelling fixes in comments and some strings
Quoted 12 lines · Alex Williamson
Quoted 9 lines · On Fri, 14 Jul 2023 14:38:06 +0300 Michael Tokarev <[email protected]> wrote:
hw/ppc/spapr_pci_vfio.c +0
-1@@ -39,7 +39,7 @@ static void spapr_phb_vfio_eeh_reenable(SpaprPhbState *sphb)void spapr_phb_vfio_reset (DeviceState *qdev) {/* -* The PE might be in frozen state. To reenable the EEH
Quoted 8 lines
hw/ppc/spapr_pci_vfio.c static void spapr_phb_vfio_eeh_reenable(SpaprPhbState *sphb) · line 45
Quoted 4 lines
hw/ppc/spapr_pci_vfio.c +1
-0+* The PE might be in frozen state. To re-enable the EEH * functionality on it will clean the frozen state, which * ensures that the contained PCI devices will work properly * after reboot. This looks like personal preference, I can't actually find a source that indicates "reenable" is anything other than a valid alternative of "re-enable". Thanks,
Well, it was one of the questionable suggestions from codespell. I like the re-enable better but in this case I don't really care for one way or another. I can drop this and other similar fixes. This one definitely does not hurt my eyes when I see it ;)
$ git diff qemu-master..spelling | grep -c re-enable 8
I can drop those 8 out of 400 :)
Thanks,
/mjt
Re: [PATCH] treewide: spelling fixes in comments and some strings
Quoted 27 lines · On Fri, 14 Jul 2023 21:50:01 +0300 Michael Tokarev <[email protected]> wrote:
Quoted 12 lines · Alex Williamson
Quoted 9 lines · On Fri, 14 Jul 2023 14:38:06 +0300 Michael Tokarev <[email protected]> wrote:
hw/ppc/spapr_pci_vfio.c +0
-1@@ -39,7 +39,7 @@ static void spapr_phb_vfio_eeh_reenable(SpaprPhbState *sphb)void spapr_phb_vfio_reset (DeviceState *qdev) {/* -* The PE might be in frozen state. To reenable the EEH Quoted 8 lines
hw/ppc/spapr_pci_vfio.c static void spapr_phb_vfio_eeh_reenable(SpaprPhbState *sphb) · line 45
Quoted 4 lines
hw/ppc/spapr_pci_vfio.c +1
-0+* The PE might be in frozen state. To re-enable the EEH * functionality on it will clean the frozen state, which * ensures that the contained PCI devices will work properly * after reboot. This looks like personal preference, I can't actually find a source that indicates "reenable" is anything other than a valid alternative of "re-enable". Thanks,
Well, it was one of the questionable suggestions from codespell. I like the re-enable better but in this case I don't really care for one way or another. I can drop this and other similar fixes. This one definitely does not hurt my eyes when I see it ;)
Quoted 4 lines
$ git diff qemu-master..spelling | grep -c re-enable 8I can drop those 8 out of 400 :)
If we consider codespell to be the authority I guess we can leave it, but it seems a bit pedantic to me. Thanks,
Alex
Re: [PATCH] treewide: spelling fixes in comments and some strings
Quoted 7 lines · Alex Williamson
Quoted 4 lines
$ git diff qemu-master..spelling | grep -c re-enable 8I can drop those 8 out of 400 :)
If we consider codespell to be the authority I guess we can leave it, but it seems a bit pedantic to me. Thanks,
Let's just drop this one. Please if you consider reviewing the series or some patches from it, just omit the changes with re-enables. They're as good as gone, all 8 of them.
Thank you for the feedback!
/mjt
PATCH 3/29 tree-wide spelling fixes in comments and some messages: ui
In reply to Michael Tokarev--- ui/cocoa.m | 2 +- ui/keymaps.h | 2 +- ui/sdl2-2d.c | 2 +- ui/sdl2.c | 2 +- ui/vnc-enc-tight.c | 2 +- ui/vnc-enc-zrle.c.inc | 2 +- ui/vnc-enc-zywrle.h | 4 ++-- 7 files changed, 8 insertions(+), 8 deletions(-)
ui/cocoa.m +1 -1
@@ -2047,3 +2047,3 @@ static void cocoa_display_init(DisplayState *ds, DisplayOptions *opts) * Create the menu entries which depend on QEMU state (for consoles - * and removeable devices). These make calls back into QEMU functions, + * and removable devices). These make calls back into QEMU functions, * which is OK because at this point we know that the second thread
ui/keymaps.h +1 -1
@@ -46,3 +46,3 @@ typedef struct { -/* Additional modifiers to use if not catched another way. */ +/* Additional modifiers to use if not caught another way. */ #define SCANCODE_SHIFT 0x100
ui/sdl2-2d.c +1 -1
@@ -152,3 +152,3 @@ bool sdl2_2d_check_format(DisplayChangeListener *dcl,* We let SDL convert for us a few more formats than, -* the native ones. Thes are the ones I have tested. +* the native ones. These are the ones I have tested. */
ui/sdl2.c +1 -1
@@ -862,3 +862,3 @@ static void sdl2_display_init(DisplayState *ds, DisplayOptions *o)#ifndef CONFIG_WIN32 -/* QEMU uses its own low level keyboard hook procecure on Windows */ +/* QEMU uses its own low level keyboard hook procedure on Windows */ SDL_SetHint (SDL_HINT_GRAB_KEYBOARD ,"1" );
ui/vnc-enc-tight.c +1 -1
@@ -79,3 +79,3 @@ static int tight_send_framebuffer_update(VncState *vs, int x, int y, static const struct { - double jpeg_freq_min; /* Don't send JPEG if the freq is bellow */ + double jpeg_freq_min; /* Don't send JPEG if the freq is below */ double jpeg_freq_threshold; /* Always send JPEG if the freq is above */
ui/vnc-enc-zrle.c.inc +1 -1
@@ -112,3 +112,3 @@ static void ZRLE_ENCODE_TILE(VncState *vs, ZRLE_PIXEL *data, int w, int h, - /* Real limit is 127 but we wan't a way to know if there is more than 127 */ + /* Real limit is 127 but we want a way to know if there is more than 127 */ palette_init(palette, 256, ZRLE_BPP);
ui/vnc-enc-zywrle.h +2 -2
@@ -487,3 +487,3 @@ static inline void wavelet(int *buf, int width, int height, int level) RGB <=> YUV conversion stuffs. - YUV coversion is explained as following formula in strict meaning: + YUV conversion is explained as following formula in strict meaning: Y = 0.299R + 0.587G + 0.114B ( 0<=Y<=255)
@@ -541,3 +541,3 @@ static inline void wavelet(int *buf, int width, int height, int level) So, we must transfer each sub images individually in strict meaning. - But at least ZRLE meaning, following one decompositon image is same as + But at least ZRLE meaning, following one decomposition image is same as avobe individual sub image. I use this format.
Signature · 1 line
2.39.2
PATCH 4/29 tree-wide spelling fixes in comments and some messages: util
In reply to Michael Tokarev--- util/cpuinfo-aarch64.c | 4 ++-- util/cpuinfo-i386.c | 4 ++-- util/cpuinfo-ppc.c | 2 +- util/main-loop.c | 2 +- util/oslib-posix.c | 2 +- util/qdist.c | 2 +- util/qemu-progress.c | 2 +- util/qemu-sockets.c | 2 +- util/rcu.c | 2 +- 9 files changed, 11 insertions(+), 11 deletions(-)
util/cpuinfo-aarch64.c +2 -2
@@ -2,3 +2,3 @@* SPDX-License-Identifier: GPL-2.0-or-later -* Host specific cpu indentification for AArch64. +* Host specific cpu identification for AArch64. */
@@ -35,3 +35,3 @@ static bool sysctl_for_bool(const char *name)* but we're only asking about static properties, all of which should be -* 'int'. So we shouln't see ENOMEM (val too small), or any of the other +* 'int'. So we shouldn't see ENOMEM (val too small), or any of the other * more exotic errors.
util/cpuinfo-i386.c +2 -2
@@ -2,3 +2,3 @@* SPDX-License-Identifier: GPL-2.0-or-later -* Host specific cpu indentification for x86. +* Host specific cpu identification for x86. */
@@ -76,3 +76,3 @@ unsigned __attribute__((constructor)) cpuinfo_init(void)* AMD has provided an even stronger guarantee that processors -* with AVX provide 16-byte atomicity for all cachable, +* with AVX provide 16-byte atomicity for all cacheable, * naturally aligned single loads and stores, e.g. MOVDQU.
util/cpuinfo-ppc.c +1 -1
@@ -2,3 +2,3 @@* SPDX-License-Identifier: GPL-2.0-or-later -* Host specific cpu indentification for ppc. +* Host specific cpu identification for ppc. */
util/main-loop.c +1 -1
@@ -49,3 +49,3 @@* Disable CFI checks. -* We are going to call a signal hander directly. Such handler may or may not +* We are going to call a signal handler directly. Such handler may or may not * have been defined in our binary, so there's no guarantee that the pointer
util/oslib-posix.c +1 -1
@@ -673,3 +673,3 @@ void qemu_free_stack(void *stack, size_t sz)* Disable CFI checks. -* We are going to call a signal hander directly. Such handler may or may not +* We are going to call a signal handler directly. Such handler may or may not * have been defined in our binary, so there's no guarantee that the pointer
util/qdist.c +1 -1
@@ -212,3 +212,3 @@ void qdist_bin__internal(struct qdist *to, const struct qdist *from, size_t n)* To avoid double-counting we capture [left, right) ranges, except for -* the righmost bin, which captures a [left, right] range. +* the rightmost bin, which captures a [left, right] range. */
util/qemu-progress.c +1 -1
@@ -97,3 +97,3 @@ static void progress_dummy_init(void)* tools that use the progress report SIGUSR1 isn't used in this meaning -* and instead should print the progress, so reenable it. +* and instead should print the progress, so re-enable it. */
util/qemu-sockets.c +1 -1
@@ -931,3 +931,3 @@ static int unix_listen_saddr(UnixSocketAddress *saddr,/* -* This dummy fd usage silences the mktemp() unsecure warning. +* This dummy fd usage silences the mktemp() insecure warning. * Using mkstemp() doesn't make things more secure here
util/rcu.c +1 -1
@@ -357,3 +357,3 @@ void drain_call_rcu(void)* we also end up waiting for most of RCU callbacks that were registered -* on the other threads, but this is a side effect that shoudn't be +* on the other threads, but this is a side effect that shouldn't be * assumed.
Signature · 1 line
2.39.2
PATCH 5/29 tree-wide spelling fixes in comments and some messages: tcg
In reply to Michael Tokarev--- tcg/aarch64/tcg-target.c.inc | 2 +- tcg/arm/tcg-target.c.inc | 4 ++-- tcg/riscv/tcg-target.c.inc | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-)
tcg/aarch64/tcg-target.c.inc +1 -1
@@ -3088,3 +3088,3 @@ static void tcg_target_qemu_prologue(TCGContext *s) * Note that XZR cannot be encoded in the address base register slot, - * as that actaully encodes SP. Depending on the guest, we may need + * as that actually encodes SP. Depending on the guest, we may need * to zero-extend the guest address via the address index register slot,
tcg/arm/tcg-target.c.inc +2 -2
@@ -1218,3 +1218,3 @@ static TCGCond tcg_out_cmp2(TCGContext *s, const TCGArg *args, case TCG_COND_GEU: - /* We perform a conditional comparision. If the high half is + /* We perform a conditional comparison. If the high half is equal, then overwrite the flags with the comparison of the
@@ -1252,3 +1252,3 @@ static TCGCond tcg_out_cmp2(TCGContext *s, const TCGArg *args, * Note that TCGReg references Q-registers. - * Q-regno = 2 * D-regno, so shift left by 1 whlie inserting. + * Q-regno = 2 * D-regno, so shift left by 1 while inserting. */
tcg/riscv/tcg-target.c.inc +2 -2
@@ -71,3 +71,3 @@ static const int tcg_target_reg_alloc_order[] = { /* Call saved registers */ - /* TCG_REG_S0 reservered for TCG_AREG0 */ + /* TCG_REG_S0 reserved for TCG_AREG0 */ TCG_REG_S1,
@@ -262,3 +262,3 @@ typedef enum { - /* Zbb: Bit manipulation extension, basic bit manipulaton */ + /* Zbb: Bit manipulation extension, basic bit manipulation */ OPC_ANDN = 0x40007033,
Signature · 1 line
2.39.2
PATCH 6/29 tree-wide spelling fixes in comments and some messages: docs
In reply to Michael Tokarev--- docs/about/deprecated.rst | 2 +- docs/devel/qapi-code-gen.rst | 2 +- docs/devel/qom.rst | 2 +- docs/system/devices/nvme.rst | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-)
docs/about/deprecated.rst +1 -1
@@ -371,3 +371,3 @@ QEMU's ``vhost`` feature, which would eliminate the high latency costs under which the 9p ``proxy`` backend currently suffers. However as of to date nobody -has indicated plans for such kind of reimplemention unfortunately. +has indicated plans for such kind of reimplementation unfortunately.
docs/devel/qapi-code-gen.rst +1 -1
@@ -1369,3 +1369,3 @@ anymore, and return or event data member (enumeration) values that can't be sent anymore makes no difference to clients, except for -introspection. The latter can conceivably confuse clients, so tread +introspection. The latter can conceivably confuse clients, so treat carefully.
docs/devel/qom.rst +1 -1
@@ -32,3 +32,3 @@ Creating a QOM class -A simple minimal device implementation may look something like bellow: +A simple minimal device implementation may look something like below:
docs/system/devices/nvme.rst +1 -1
@@ -234,3 +234,3 @@ parameters: ``fdp.nruh`` (default: ``0``) - Set the number of Reclaim Unit Handles. This is a mandatory paramater and + Set the number of Reclaim Unit Handles. This is a mandatory parameter and must be non-zero.
Signature · 1 line
2.39.2
PATCH 7/29 tree-wide spelling fixes in comments and some messages: hw/9pfs
In reply to Michael Tokarev--- hw/9pfs/9p-local.c | 8 ++++---- hw/9pfs/9p-proxy.c | 2 +- hw/9pfs/9p-synth.c | 2 +- hw/9pfs/9p-util.h | 2 +- hw/9pfs/9p.c | 4 ++-- hw/9pfs/9p.h | 2 +- 6 files changed, 10 insertions(+), 10 deletions(-)
hw/9pfs/9p-local.c +4 -4
@@ -626,3 +626,3 @@ static ssize_t local_pwritev(FsContext *ctx, V9fsFidOpenState *fs,* We want to ensure that we don't leave dirty pages in the cache -* after write when writeout=immediate is sepcified. +* after write when writeout=immediate is specified. */
@@ -845,3 +845,3 @@ static int local_open2(FsContext *fs_ctx, V9fsPath *dir_path, const char *name,if (fs_ctx->export_flags &V9FS_SM_MAPPED ) { -/* Set cleint credentials in xattr */ +/* Set client credentials in xattr */ err =local_set_xattrat (dirfd, name, credp);
@@ -914,3 +914,3 @@ static int local_symlink(FsContext *fs_ctx, const char *oldpath, } -/* Set cleint credentials in symlink's xattr */ +/* Set client credentials in symlink's xattr */ credp->fc_mode = credp->fc_mode |S_IFLNK ;
@@ -1420,3 +1420,3 @@ static int local_ioc_getversion_init(FsContext *ctx, LocalData *data, Error **er/* -* use ioc_getversion only if the ioctl is definied +* use ioc_getversion only if the ioctl is defined */
hw/9pfs/9p-proxy.c +1 -1
@@ -769,3 +769,3 @@ static ssize_t proxy_pwritev(FsContext *ctx, V9fsFidOpenState *fs,* We want to ensure that we don't leave dirty pages in the cache -* after write when writeout=immediate is sepcified. +* after write when writeout=immediate is specified. */
hw/9pfs/9p-synth.c +1 -1
@@ -495,3 +495,3 @@ static int synth_name_to_path(FsContext *ctx, V9fsPath *dir_path, } -/* search for the name in the childern */ +/* search for the name in the children */ rcu_read_lock ();
hw/9pfs/9p-util.h +1 -1
@@ -50,3 +50,3 @@ static inline uint64_t makedev_dotl(uint32_t dev_major, uint32_t dev_minor)* device number format. As both the size of type dev_t and encoding of -* dev_t is system dependant, we have to convert them for Linux guests if +* dev_t is system dependent, we have to convert them for Linux guests if * host is not running Linux.
hw/9pfs/9p.c +2 -2
@@ -646,3 +646,3 @@ static inline uint64_t mirror64bit(uint64_t value)/* -* Parameter k for the Exponential Golomb algorihm to be used. +* Parameter k for the Exponential Golomb algorithm to be used. *
@@ -1041,3 +1041,3 @@ static void coroutine_fn pdu_complete(V9fsPDU *pdu, ssize_t len)* rather than a consequence of the cancellation. However, if -* the operation completed (succesfully or with an error other +* the operation completed (successfully or with an error other * than caused be cancellation), we do send out that reply, both
hw/9pfs/9p.h +1 -1
@@ -306,3 +306,3 @@ typedef struct VariLenAffix {/* -* Lenght of the affix, that is how many (of the lowest) bits of ``value`` +* Length of the affix, that is how many (of the lowest) bits of ``value`` * must be used for appending/prepending this affix to its final resulting,
Signature · 1 line
2.39.2
Re: [PATCH, trivial 07/29] tree-wide spelling fixes in comments and some messages: hw/9pfs
Quoted 57 lines · CEST Michael Tokarev
Signed-off-by Michael Tokarev <[email protected]>--- hw/9pfs/9p-local.c | 8 ++++---- hw/9pfs/9p-proxy.c | 2 +- hw/9pfs/9p-synth.c | 2 +- hw/9pfs/9p-util.h | 2 +- hw/9pfs/9p.c | 4 ++-- hw/9pfs/9p.h | 2 +- 6 files changed, 10 insertions(+), 10 deletions(-)hw/9pfs/9p-local.c +4
-4@@ -626,3 +626,3 @@ static ssize_t local_pwritev(FsContext *ctx, V9fsFidOpenState *fs,* We want to ensure that we don't leave dirty pages in the cache -* after write when writeout=immediate is sepcified. +* after write when writeout=immediate is specified. */ @@ -845,3 +845,3 @@ static int local_open2(FsContext *fs_ctx, V9fsPath *dir_path, const char *name,if (fs_ctx->export_flags &V9FS_SM_MAPPED ) { -/* Set cleint credentials in xattr */ +/* Set client credentials in xattr */ err =local_set_xattrat (dirfd, name, credp);@@ -914,3 +914,3 @@ static int local_symlink(FsContext *fs_ctx, const char *oldpath, } -/* Set cleint credentials in symlink's xattr */ +/* Set client credentials in symlink's xattr */ credp->fc_mode = credp->fc_mode |S_IFLNK ;@@ -1420,3 +1420,3 @@ static int local_ioc_getversion_init(FsContext *ctx, LocalData *data, Error **er/* -* use ioc_getversion only if the ioctl is definied +* use ioc_getversion only if the ioctl is defined */ hw/9pfs/9p-proxy.c +1
-1@@ -769,3 +769,3 @@ static ssize_t proxy_pwritev(FsContext *ctx, V9fsFidOpenState *fs,* We want to ensure that we don't leave dirty pages in the cache -* after write when writeout=immediate is sepcified. +* after write when writeout=immediate is specified. */ hw/9pfs/9p-synth.c +1
-1@@ -495,3 +495,3 @@ static int synth_name_to_path(FsContext *ctx, V9fsPath *dir_path, } -/* search for the name in the childern */ +/* search for the name in the children */ rcu_read_lock ();hw/9pfs/9p-util.h +0
-0
hw/9pfs/9p-util.h static inline uint64_t makedev_dotl(uint32_t dev_major, uint32_t dev_minor) · line 52
Quoted 4 lines
hw/9pfs/9p-util.h +1
-1@@ -50,3 +50,3 @@ static inline uint64_t makedev_dotl(uint32_t dev_major, uint32_t dev_minor)* device number format. As both the size of type dev_t and encoding of -* dev_t is system dependant, we have to convert them for Linux guests if +* dev_t is system dependent, we have to convert them for Linux guests if * host is not running Linux.
That particular one is American English vs. British English, but OK, patch LGTM:
Quoted 24 lines
hw/9pfs/9p.c +2
-2@@ -646,3 +646,3 @@ static inline uint64_t mirror64bit(uint64_t value)/* -* Parameter k for the Exponential Golomb algorihm to be used. +* Parameter k for the Exponential Golomb algorithm to be used. * @@ -1041,3 +1041,3 @@ static void coroutine_fn pdu_complete(V9fsPDU *pdu, ssize_t len)* rather than a consequence of the cancellation. However, if -* the operation completed (succesfully or with an error other +* the operation completed (successfully or with an error other * than caused be cancellation), we do send out that reply, both hw/9pfs/9p.h +1
-1@@ -306,3 +306,3 @@ typedef struct VariLenAffix {/* -* Lenght of the affix, that is how many (of the lowest) bits of ``value`` +* Length of the affix, that is how many (of the lowest) bits of ``value`` * must be used for appending/prepending this affix to its final resulting,
PATCH 8/29 tree-wide spelling fixes in comments and some messages: arm
In reply to Michael Tokarev--- hw/arm/aspeed.c | 2 +- hw/arm/mps2-tz.c | 2 +- hw/intc/arm_gic.c | 4 ++-- hw/intc/arm_gicv3_redist.c | 2 +- hw/intc/armv7m_nvic.c | 2 +- include/hw/arm/fsl-imx7.h | 2 +- include/hw/intc/armv7m_nvic.h | 2 +- target/arm/cpu.c | 2 +- target/arm/cpu.h | 2 +- target/arm/cpu64.c | 2 +- target/arm/helper.c | 4 ++-- target/arm/tcg/m_helper.c | 2 +- target/arm/tcg/translate-a64.c | 4 ++-- target/arm/tcg/translate-mve.c | 4 ++-- target/arm/tcg/translate-sve.c | 2 +- target/arm/tcg/translate-vfp.c | 2 +- target/arm/tcg/vec_helper.c | 2 +- 17 files changed, 21 insertions(+), 21 deletions(-)
hw/arm/aspeed.c +1 -1
@@ -1567,3 +1567,3 @@ static void ast1030_evb_i2c_init(AspeedMachineState *bmc) -/* U10 24C08 connects to SDA/SCL Groupt 1 by default */ +/* U10 24C08 connects to SDA/SCL Group 1 by default */ uint8_t *eeprom_buf =g_malloc0 (32 *1024 );
hw/arm/mps2-tz.c +1 -1
@@ -1207,3 +1207,3 @@ static void mps2_tz_idau_check(IDAUInterface *ii, uint32_t address,* The MPS2 TZ FPGA images have IDAUs in them which are connected to -* the Master Security Controllers. Thes have the same logic as +* the Master Security Controllers. These have the same logic as * is used by the IoTKit for the IDAU connected to the CPU, except
hw/intc/arm_gic.c +2 -2
@@ -241,3 +241,3 @@ static inline bool gic_lr_entry_is_free(uint32_t entry)/* Return true if this LR should trigger an EOI maintenance interrupt, i.e. the -* corrsponding bit in EISR is set. +* corresponding bit in EISR is set. */
@@ -1335,3 +1335,3 @@ static void gic_dist_writeb(void *opaque, hwaddr offset,for per-CPU interrupts. It's unclear whether this is the -corect behavior. */ +correct behavior. */ if (value & (1 << i)) {
hw/intc/arm_gicv3_redist.c +1 -1
@@ -496,3 +496,3 @@ static MemTxResult gicr_writel(GICv3CPUState *cs, hwaddr offset,* redistributor and the cpu interface to quiescent, and that -* we set the ChildrenAsleep bit once the inteface has reached the +* we set the ChildrenAsleep bit once the interface has reached the * quiescent state.
hw/intc/armv7m_nvic.c +1 -1
@@ -896,3 +896,3 @@ int armv7m_nvic_complete_irq(NVICState *s, int irq, bool secure)/* Re-pend the exception if it's still held high; only -* happens for extenal IRQs +* happens for external IRQs */
include/hw/arm/fsl-imx7.h +1 -1
@@ -167,3 +167,3 @@ enum FslIMX7MemoryMap {* Linux kernel show that not to be true and that block is -* acutally located @ 0x30890000 +* actually located @ 0x30890000 */
include/hw/intc/armv7m_nvic.h +1 -1
@@ -76,3 +76,3 @@ struct NVICState {int exception_prio;/* group prio of the highest prio active exception */ -int vectpending_prio;/* group prio of the exeception in vectpending */ +int vectpending_prio;/* group prio of the exception in vectpending */
target/arm/cpu.c +1 -1
@@ -679,3 +679,3 @@ static inline bool arm_excp_unmasked(CPUState *cs, unsigned int excp_idx,/* -* The PSTATE bits only mask the interrupt if we have not overriden the +* The PSTATE bits only mask the interrupt if we have not overridden the * ability above.
target/arm/cpu.h +1 -1
@@ -2594,3 +2594,3 @@ static inline bool arm_el_is_aa64(CPUARMState *env, int el) -/* Function for determing whether guest cp register reads and writes should +/* Function for determining whether guest cp register reads and writes should * access the secure or non-secure bank of a cp register. When EL3 is
target/arm/cpu64.c +1 -1
@@ -97,3 +97,3 @@ void arm_cpu_sve_finalize(ARMCPU *cpu, Error **errp)/* -* For KVM we have to automatically enable all supported unitialized +* For KVM we have to automatically enable all supported uninitialized * lengths, even when the smaller lengths are not all powers-of-two.
target/arm/helper.c +2 -2
@@ -1676,3 +1676,3 @@ static void pmevtyper_rawwrite(CPUARMState *env, const ARMCPRegInfo *ri,* we're potentially updating the type of event here, the value written to -* c14_pmevcntr_delta by the preceeding pmu_op_start call may be for a +* c14_pmevcntr_delta by the preceding pmu_op_start call may be for a * different counter type. Therefore, we need to set this value to the
@@ -7011,3 +7011,3 @@ static const ARMCPRegInfo rme_reginfo[] = {* invalidating a range of physical addresses is accomplished by -* flushing all tlb entries in the outer sharable domain, +* flushing all tlb entries in the outer shareable domain, * just like PAALLOS.
target/arm/tcg/m_helper.c +1 -1
@@ -150,3 +150,3 @@ uint32_t HELPER(v7m_tt)(CPUARMState *env, uint32_t addr, uint32_t op)* MRVALID: 0 because unpriv and A flag not set -* SREGION: 0 becaus SRVALID is 0 +* SREGION: 0 because SRVALID is 0 * MREGION: 0 because MRVALID is 0
target/arm/tcg/translate-a64.c +2 -2
@@ -184,3 +184,3 @@ void gen_a64_update_pc(DisasContext *s, target_long diff)* + for EL0 and EL1, TBI0 controls addresses with bit 55 == 0 -* and TBI1 controls addressses with bit 55 == 1. +* and TBI1 controls addresses with bit 55 == 1. * If the appropriate TBI bit is set for the address then
@@ -2315,3 +2315,3 @@ static void handle_sys(DisasContext *s, bool isread,/* -* A write to any coprocessor regiser that ends a TB +* A write to any coprocessor register that ends a TB * must rebuild the hflags for the next TB.
target/arm/tcg/translate-mve.c +2 -2
@@ -2184,3 +2184,3 @@ static bool trans_VMOV_to_2gp(DisasContext *s, arg_VMOV_to_2gp *a)* corresponding to the lane of the vector register being accessed -* then we should skip perfoming the move, and that we need to do +* then we should skip performing the move, and that we need to do * the usual check for bad ECI state and advance of ECI state.
@@ -2227,3 +2227,3 @@ static bool trans_VMOV_from_2gp(DisasContext *s, arg_VMOV_to_2gp *a)* corresponding to the lane of the vector register being accessed -* then we should skip perfoming the move, and that we need to do +* then we should skip performing the move, and that we need to do * the usual check for bad ECI state and advance of ECI state.
target/arm/tcg/translate-sve.c +1 -1
@@ -1843,3 +1843,3 @@ TRANS_FEAT(PNEXT, aa64_sve, do_pfirst_pnext, a, gen_helper_sve_pnext)* a 64-bit register. The second operand is known to be positive, -* which halves the comparisions we must perform to bound the result. +* which halves the comparisons we must perform to bound the result. */
target/arm/tcg/translate-vfp.c +1 -1
@@ -146,3 +146,3 @@ static void gen_preserve_fp_state(DisasContext *s, bool skip_context_update)* necessary. This corresponds to the parts of the pseudocode -* ExecuteFPCheck() after the inital PreserveFPState() call. +* ExecuteFPCheck() after the initial PreserveFPState() call. */
target/arm/tcg/vec_helper.c +1 -1
@@ -2628,3 +2628,3 @@ void HELPER(gvec_bfmmla)(void *vd, void *vn, void *vm, void *va, uint32_t desc)* -* Key to indicies by column: +* Key to indices by column: * i j i k j k
Signature · 1 line
2.39.2
Re: [PATCH, trivial 08/29] tree-wide spelling fixes in comments and some messages: arm
Quoted 13 lines · Michael Tokarev
Signed-off-by Michael Tokarev <[email protected]>--- hw/arm/aspeed.c | 2 +- hw/arm/mps2-tz.c | 2 +- hw/intc/arm_gic.c | 4 ++-- hw/intc/arm_gicv3_redist.c | 2 +- hw/intc/armv7m_nvic.c | 2 +- include/hw/arm/fsl-imx7.h | 2 +- include/hw/intc/armv7m_nvic.h | 2 +- target/arm/cpu.c | 2 +- target/arm/cpu.h | 2 +- target/arm/cpu64.c | 2 +-
Quoted 8 lines
target/arm/helper.c | 4 ++-- target/arm/tcg/m_helper.c | 2 +- target/arm/tcg/translate-a64.c | 4 ++-- target/arm/tcg/translate-mve.c | 4 ++-- target/arm/tcg/translate-sve.c | 2 +- target/arm/tcg/translate-vfp.c | 2 +- target/arm/tcg/vec_helper.c | 2 +- 17 files changed, 21 insertions(+), 21 deletions(-)
thanks
-- PMM
PATCH 9/29 tree-wide spelling fixes in comments and some messages: i386
In reply to Michael Tokarev--- host/include/i386/host/cpuinfo.h | 2 +- hw/i386/acpi-build.c | 4 ++-- hw/i386/amd_iommu.c | 4 ++-- hw/i386/intel_iommu.c | 4 ++-- hw/i386/kvm/xen_xenstore.c | 2 +- hw/i386/kvm/xenstore_impl.c | 2 +- hw/i386/pc.c | 4 ++-- include/hw/i386/topology.h | 2 +- target/i386/cpu.c | 4 ++-- target/i386/cpu.h | 4 ++-- target/i386/hax/hax-interface.h | 4 ++-- target/i386/hax/hax-windows.c | 2 +- target/i386/kvm/kvm.c | 4 ++-- target/i386/kvm/xen-emu.c | 2 +- target/i386/machine.c | 4 ++-- target/i386/tcg/translate.c | 8 ++++---- tests/tcg/i386/system/boot.S | 2 +- tests/tcg/i386/x86.csv | 2 +- 18 files changed, 30 insertions(+), 30 deletions(-)
host/include/i386/host/cpuinfo.h +1 -1
@@ -2,3 +2,3 @@* SPDX-License-Identifier: GPL-2.0-or-later -* Host specific cpu indentification for x86. +* Host specific cpu identification for x86. */
hw/i386/acpi-build.c +2 -2
@@ -777,3 +777,3 @@ static Aml *initialize_route(Aml *route, const char *link_name,* based on device location. -* The main goal is to equaly distribute the interrupts +* The main goal is to equally distribute the interrupts * over the 4 existing ACPI links (works only for i440fx).
@@ -2080,3 +2080,3 @@ build_srat(GArray *table_data, BIOSLinker *linker, MachineState *machine)/* -* Insert DMAR scope for PCI bridges and endpoint devcie +* Insert DMAR scope for PCI bridges and endpoint device */
hw/i386/amd_iommu.c +2 -2
@@ -261,3 +261,3 @@ static void amdvi_log_command_error(AMDVIState *s, hwaddr addr) } -/* log an illegal comand event +/* log an illegal command event * @addr : address of illegal command
@@ -769,3 +769,3 @@ static void amdvi_mmio_write(void *opaque, hwaddr addr, uint64_t val,amdvi_mmio_reg_write (s, size, val, addr); -/* FIXME - make sure System Software has finished writing incase +/* FIXME - make sure System Software has finished writing in case * it writes in chucks less than 8 bytes in a robust way.As for
hw/i386/intel_iommu.c +2 -2
@@ -54,3 +54,3 @@* PCI bus number (or SID) is not reliable since the device is usaully -* initalized before guest can configure the PCI bridge +* initialized before guest can configure the PCI bridge * (SECONDARY_BUS_NUMBER).
@@ -1691,3 +1691,3 @@ static bool vtd_switch_address_space(VTDAddressSpace *as)* We enable per as memory region (iommu_ir_fault) for catching -* the tranlsation for interrupt range through PASID + PT. +* the translation for interrupt range through PASID + PT. */
hw/i386/kvm/xen_xenstore.c +1 -1
@@ -1158,3 +1158,3 @@ static unsigned int copy_to_ring(XenXenstoreState *s, uint8_t *ptr,* This matches the barrier in copy_to_ring() (or the guest's -* equivalent) betweem writing the data to the ring and updating +* equivalent) between writing the data to the ring and updating * rsp_prod. It protects against the pathological case (which
hw/i386/kvm/xenstore_impl.c +1 -1
@@ -1428,3 +1428,3 @@ static void save_node(gpointer key, gpointer value, gpointer opaque)* There's no rename/move in XenStore, so all we need to find -* it is the tx_id of the transation in which it exists. Which +* it is the tx_id of the transaction in which it exists. Which * may be the root tx.
hw/i386/pc.c +2 -2
@@ -435,3 +435,3 @@ static uint64_t ioport80_read(void *opaque, hwaddr addr, unsigned size) -/* MSDOS compatibility mode FPU exception support */ +/* MS-DOS compatibility mode FPU exception support */ static void ioportF0_write(void *opaque, hwaddr addr, uint64_t data,
@@ -1754,3 +1754,3 @@ static void pc_machine_set_max_fw_size(Object *obj, Visitor *v,"User specified max allowed firmware size %" PRIu64" is " -"greater than 16MiB. If combined firwmare size exceeds " +"greater than 16MiB. If combined firmware size exceeds " "16MiB the system may not boot, or experience intermittent"
include/hw/i386/topology.h +1 -1
@@ -33,3 +33,3 @@* AMD CPUID Specification (Publication #25481) -* Section 3: Multiple Core Calcuation +* Section 3: Multiple Core Calculation * as long as:
target/i386/cpu.c +2 -2
@@ -5338,3 +5338,3 @@ static const char *x86_cpu_feature_name(FeatureWord w, int bitnr) -/* Compatibily hack to maintain legacy +-feat semantic, +/* Compatibility hack to maintain legacy +-feat semantic, * where +-feat overwrites any feature set by
@@ -6302,3 +6302,3 @@ void cpu_x86_cpuid(CPUX86State *env, uint32_t index, uint32_t count,* even through guest update xcr0, this will crash some legacy guest -* (e.g., CentOS 6), So set ebx == ecx to workaroud it. +* (e.g., CentOS 6), So set ebx == ecx to workaround it. */
target/i386/cpu.h +2 -2
@@ -730,3 +730,3 @@ uint64_t x86_cpu_get_supported_feature_word(FeatureWord w, -/* CPUID[8000_0001].EDX bits that are aliase of CPUID[1].EDX bits on AMD CPUs */ +/* CPUID[8000_0001].EDX bits that are aliases of CPUID[1].EDX bits on AMD CPUs */ #define CPUID_EXT2_AMD_ALIASES (CPUID_EXT2_FPU | CPUID_EXT2_VME | \
@@ -2070,3 +2070,3 @@ int cpu_get_pic_interrupt(CPUX86State *s); -/* MSDOS compatibility mode FPU exception support */ +/* MS-DOS compatibility mode FPU exception support */ void x86_register_ferr_irq (qemu_irq irq);
target/i386/hax/hax-interface.h +2 -2
@@ -240,3 +240,3 @@ enum exit_status {HAX_EXIT_HLT , -/* Reboot request, like because of tripple fault in guest */ +/* Reboot request, like because of triple fault in guest */ HAX_EXIT_STATECHANGE,
@@ -297,3 +297,3 @@ struct hax_qemu_version { -/* The mac specfic interface to qemu, mostly is ioctl related */ +/* The mac specific interface to qemu, mostly is ioctl related */ struct hax_tunnel_info {
target/i386/hax/hax-windows.c +1 -1
@@ -176,3 +176,3 @@ int hax_mod_version(struct hax_state *hax, struct hax_module_version *version)if (err ==ERROR_INSUFFICIENT_BUFFER || err ==ERROR_MORE_DATA ) { -fprintf (stderr,"hax module verion is too long to hold.\n" ); +fprintf (stderr,"hax module version is too long to hold.\n" ); }
target/i386/kvm/kvm.c +2 -2
@@ -4726,3 +4726,3 @@ int kvm_arch_put_registers(CPUState *cpu, int level)* root operation upon vCPU reset. kvm_put_msr_feature_control() should also -* preceed kvm_put_nested_state() when 'real' nested state is set. +* proceed kvm_put_nested_state() when 'real' nested state is set. */
@@ -5652,3 +5652,3 @@ int kvm_arch_fixup_msi_route(struct kvm_irq_routing_entry *route,/* -* Handled untranslated compatibilty format interrupt with +* Handled untranslated compatibility format interrupt with * extended destination ID in the low bits 11-5. */
target/i386/kvm/xen-emu.c +1 -1
@@ -1028,3 +1028,3 @@ static int do_set_periodic_timer(CPUState *target, uint64_t period_ns)#define STIME_MAX ((time_t)((int64_t)~0ull >> 1)) -/* Chosen so (NOW() + delta) wont overflow without an uptime of 200 years */ +/* Chosen so (NOW() + delta) won't overflow without an uptime of 200 years */ #define STIME_DELTA_MAX ((int64_t)((uint64_t)~0ull >> 2))
target/i386/machine.c +2 -2
@@ -284,3 +284,3 @@ static int cpu_pre_save(void *opaque)* Thus, in case an exception is pending, it is -* important to save the exception payload seperately. +* important to save the exception payload separately. *
@@ -289,3 +289,3 @@ static int cpu_pre_save(void *opaque)* distinguish between a pending and injected exception -* and we don't need to store seperately the exception payload. +* and we don't need to store separately the exception payload. *
target/i386/tcg/translate.c +4 -4
@@ -1071,3 +1071,3 @@ static CCPrepare gen_prepare_eflags_z(DisasContext *s, TCGv reg)/* perform a conditional store into register 'reg' according to jump opcode -value 'b'. In the fast case, T0 is guaranted not to be used. */ +value 'b'. In the fast case, T0 is guaranteed not to be used. */ static CCPrepare gen_prepare_cc (DisasContext *s,int b,TCGv reg)
@@ -1204,3 +1204,3 @@ static inline void gen_compute_eflags_c(DisasContext *s, TCGv reg)/* generate a conditional jump to label 'l1' according to jump opcode -value 'b'. In the fast case, T0 is guaranted not to be used. */ +value 'b'. In the fast case, T0 is guaranteed not to be used. */ static inline void gen_jcc1_noeob (DisasContext *s,int b,TCGLabel *l1)
@@ -1221,3 +1221,3 @@ static inline void gen_jcc1_noeob(DisasContext *s, int b, TCGLabel *l1)/* Generate a conditional jump to label 'l1' according to jump opcode -value 'b'. In the fast case, T0 is guaranted not to be used. +value 'b'. In the fast case, T0 is guaranteed not to be used. A translation block must end soon. */
@@ -5353,3 +5353,3 @@ static bool disas_insn(DisasContext *s, CPUState *cpu)case 0 :/* bt */ -/* Needs no atomic ops; we surpressed the normal +/* Needs no atomic ops; we suppressed the normal memory load for LOCK above so do it now. */
tests/tcg/i386/system/boot.S +1 -1
@@ -73,3 +73,3 @@ _start: /* - * Don't worry about stack frame, assume everthing + * Don't worry about stack frame, assume everything * is garbage when we return, we won't need it.
tests/tcg/i386/x86.csv +1 -1
@@ -21,3 +21,3 @@ # -# 5. The validity of the instruction in 32-bit (aka compatiblity, legacy) mode. +# 5. The validity of the instruction in 32-bit (aka compatibility, legacy) mode. #
Signature · 1 line
2.39.2
PATCH 10/29 tree-wide spelling fixes in comments and some messages: mips
In reply to Michael Tokarev--- hw/mips/malta.c | 2 +- target/mips/cpu-defs.c.inc | 2 +- target/mips/tcg/msa_helper.c | 12 ++++++------ target/mips/tcg/mxu_translate.c | 6 +++--- 4 files changed, 11 insertions(+), 11 deletions(-)
hw/mips/malta.c +1 -1
@@ -629,3 +629,3 @@ static void bl_setup_gt64120_jump_kernel(void **p, uint64_t run_addr, -/* Bus endianess is always reversed */ +/* Bus endianness is always reversed */ #if TARGET_BIG_ENDIAN
target/mips/cpu-defs.c.inc +1 -1
@@ -1047,3 +1047,3 @@ static void mvp_init(CPUMIPSState *env) - /* MVPConf1 implemented, TLB sharable, no gating storage support, + /* MVPConf1 implemented, TLB shareable, no gating storage support, programmable cache partitioning implemented, number of allocatable
target/mips/tcg/msa_helper.c +6 -6
@@ -804,5 +804,5 @@ void helper_msa_bset_d(CPUMIPSState *env, uint32_t wd, uint32_t ws, uint32_t wt)* | HADD_S.D | Vector Signed Horizontal Add (doubleword) | -* | HADD_U.H | Vector Unigned Horizontal Add (halfword) | -* | HADD_U.W | Vector Unigned Horizontal Add (word) | -* | HADD_U.D | Vector Unigned Horizontal Add (doubleword) | +* | HADD_U.H | Vector Unsigned Horizontal Add (halfword) | +* | HADD_U.W | Vector Unsigned Horizontal Add (word) | +* | HADD_U.D | Vector Unsigned Horizontal Add (doubleword) | * +---------------+----------------------------------------------------------+
@@ -3453,5 +3453,5 @@ void helper_msa_mulv_d(CPUMIPSState *env,* | HSUB_S.D | Vector Signed Horizontal Subtract (doubleword) | -* | HSUB_U.H | Vector Unigned Horizontal Subtract (halfword) | -* | HSUB_U.W | Vector Unigned Horizontal Subtract (word) | -* | HSUB_U.D | Vector Unigned Horizontal Subtract (doubleword) | +* | HSUB_U.H | Vector Unsigned Horizontal Subtract (halfword) | +* | HSUB_U.W | Vector Unsigned Horizontal Subtract (word) | +* | HSUB_U.D | Vector Unsigned Horizontal Subtract (doubleword) | * | SUBS_S.B | Vector Signed Saturated Subtract (of Signed) (byte) |
target/mips/tcg/mxu_translate.c +3 -3
@@ -2965,3 +2965,3 @@ static void gen_mxu_Q8ADD(DisasContext *ctx)* into XRa and XRd. -* aptn2 manages action add or subract of pairs of data. +* aptn2 manages action add or subtract of pairs of data. *
@@ -2972,3 +2972,3 @@ static void gen_mxu_Q8ADD(DisasContext *ctx)* into XRa and XRd. -* aptn2 manages action add or subract of pairs of data. +* aptn2 manages action add or subtract of pairs of data. */
@@ -4044,3 +4044,3 @@ static void gen_mxu_s32sfl(DisasContext *ctx)* Q8SAD XRa, XRd, XRb, XRc -* Typical SAD opration for motion estimation. +* Typical SAD operation for motion estimation. */
Signature · 1 line
2.39.2
PATCH 11/29 tree-wide spelling fixes in comments and some messages: ppc
In reply to Michael Tokarev--- host/include/ppc/host/cpuinfo.h | 2 +- hw/ppc/ppc.c | 2 +- hw/ppc/prep_systemio.c | 2 +- hw/ppc/spapr.c | 8 ++++---- hw/ppc/spapr_hcall.c | 2 +- hw/ppc/spapr_nvdimm.c | 4 ++-- hw/ppc/spapr_pci_vfio.c | 6 +++--- include/hw/ppc/openpic.h | 2 +- include/hw/ppc/spapr.h | 2 +- target/ppc/cpu-models.h | 4 ++-- target/ppc/cpu.h | 2 +- target/ppc/cpu_init.c | 4 ++-- target/ppc/excp_helper.c | 14 +++++++------- target/ppc/power8-pmu-regs.c.inc | 4 ++-- target/ppc/translate/vmx-impl.c.inc | 6 +++--- 15 files changed, 32 insertions(+), 32 deletions(-)
host/include/ppc/host/cpuinfo.h +1 -1
@@ -2,3 +2,3 @@* SPDX-License-Identifier: GPL-2.0-or-later -* Host specific cpu indentification for ppc. +* Host specific cpu identification for ppc. */
hw/ppc/ppc.c +1 -1
@@ -715,3 +715,3 @@ target_ulong cpu_ppc_load_decr(CPUPPCState *env)/* -* If large decrementer is enabled then the decrementer is signed extened +* If large decrementer is enabled then the decrementer is signed extended * to 64 bits, otherwise it is a 32 bit value.
hw/ppc/prep_systemio.c +1 -1
@@ -41,3 +41,3 @@ OBJECT_DECLARE_SIMPLE_TYPE(PrepSystemIoState, PREP_SYSTEMIO) -/* Bit as defined in PowerPC Reference Plaform v1.1, sect. 6.1.5, p. 132 */ +/* Bit as defined in PowerPC Reference Platform v1.1, sect. 6.1.5, p. 132 */ #define PREP_BIT (n) (1 << (7 - (n)))
hw/ppc/spapr.c +4 -4
@@ -2553,3 +2553,3 @@ static void spapr_set_vsmt_mode(SpaprMachineState *spapr, Error **errp) -/* Detemine the VSMT mode to use: */ +/* Determine the VSMT mode to use: */ if (vsmt_user) {
@@ -3089,3 +3089,3 @@ static int spapr_kvm_type(MachineState *machine, const char *vm_type)* The use of g_ascii_strcasecmp() for 'hv' and 'pr' is to -* accomodate the 'HV' and 'PV' formats that exists in the +* accommodate the 'HV' and 'PV' formats that exists in the * wild. The 'auto' mode is being introduced already as
@@ -4323,3 +4323,3 @@ spapr_cpu_index_to_props(MachineState *machine, unsigned cpu_index) -/* make sure possible_cpu are intialized */ +/* make sure possible_cpu are initialized */ mc->possible_cpu_arch_ids (machine);
@@ -5014,3 +5014,3 @@ static void spapr_machine_2_12_class_options(MachineClass *mc)* hpt-max-page-size capability. Of course we can't do it here -* because this is too early and the HW accelerator isn't initialzed +* because this is too early and the HW accelerator isn't initialized * yet. Postpone this to machine init (see default_caps_with_cpu()).
hw/ppc/spapr_hcall.c +1 -1
@@ -1560,3 +1560,3 @@ static void hypercall_register_types(void) -/* "debugger" hcalls (also used by SLOF). Note: We do -not- differenciate +/* "debugger" hcalls (also used by SLOF). Note: We do -not- differentiate * here between the "CI" and the "CACHE" variants, they will use whatever
hw/ppc/spapr_nvdimm.c +2 -2
@@ -379,3 +379,3 @@ static target_ulong h_scm_bind_mem(PowerPCCPU *cpu, SpaprMachineState *spapr,* Currently continue token should be zero qemu has already bound -* everything and this hcall doesnt return H_BUSY. +* everything and this hcall doesn't return H_BUSY. */
@@ -590,3 +590,3 @@ void spapr_nvdimm_finish_flushes(void)* finally reaching here. Other code path being guest -* h_client_architecture_support, thats early boot up. +* h_client_architecture_support, that's early boot up. */
hw/ppc/spapr_pci_vfio.c +3 -3
@@ -41,3 +41,3 @@ void spapr_phb_vfio_reset(DeviceState *qdev)/* -* The PE might be in frozen state. To reenable the EEH +* The PE might be in frozen state. To re-enable the EEH * functionality on it will clean the frozen state, which
@@ -80,3 +80,3 @@ int spapr_phb_vfio_eeh_set_option(SpaprPhbState *sphb,* We have already validated that all the devices under this sphb -* are from same iommu group (within same PE) before comming here. +* are from same iommu group (within same PE) before coming here. *
@@ -146,3 +146,3 @@ static void spapr_phb_vfio_eeh_clear_dev_msix(PCIBus *bus,* The MSIx table will be cleaned out by reset. We need -* disable it so that it can be reenabled properly. Also, +* disable it so that it can be re-enabled properly. Also, * the cached MSIx table should be cleared as it's not
include/hw/ppc/openpic.h +1 -1
@@ -16,3 +16,3 @@ enum {OPENPIC_OUTPUT_MCK ,/* Machine check event */ -OPENPIC_OUTPUT_DEBUG ,/* Inconditional debug event */ +OPENPIC_OUTPUT_DEBUG ,/* Unconditional debug event */ OPENPIC_OUTPUT_RESET, /* Core reset event */
include/hw/ppc/spapr.h +1 -1
@@ -199,3 +199,3 @@ struct SpaprMachineState {uint32_t htab_shift; -uint64_t patb_entry;/* Process tbl registed in H_REGISTER_PROC_TBL */ +uint64_t patb_entry;/* Process tbl registered in H_REGISTER_PROC_TBL */ SpaprPendingHpt *pending_hpt;/* in-progress resize */
target/ppc/cpu-models.h +2 -2
@@ -46,3 +46,3 @@ enum { CPU_POWERPC_405D4 = 0x41810000, -/* PowerPC 405 microcontrolers */ +/* PowerPC 405 microcontrollers */ /* XXX: missing 0x200108a0 */
@@ -76,3 +76,3 @@ enum {CPU_POWERPC_440_XILINX =0x7ff21910 , -/* PowerPC 440 microcontrolers */ +/* PowerPC 440 microcontrollers */ CPU_POWERPC_440EPa = 0x42221850,
target/ppc/cpu.h +1 -1
@@ -430,3 +430,3 @@ FIELD(MSR, LE, MSR_LE, 1)#define MMCR0_FC PPC_BIT(32)/* Freeze Counters */ -#define MMCR0_PMAO PPC_BIT(56)/* Perf Monitor Alert Ocurred */ +#define MMCR0_PMAO PPC_BIT(56)/* Perf Monitor Alert Occurred */ #define MMCR0_PMAE PPC_BIT(37)/* Perf Monitor Alert Enable */
target/ppc/cpu_init.c +2 -2
@@ -5349,3 +5349,3 @@ static void register_power5p_lpar_sprs(CPUPPCState *env)#if !defined(CONFIG_USER_ONLY ) -/* Logical partitionning */ +/* Logical partitioning */ spr_register_kvm_hv(env, SPR_LPCR, "LPCR",
@@ -5752,3 +5752,3 @@ static void register_power10_hash_sprs(CPUPPCState *env)/* -* it's the OS responsability to generate a random value for the registers +* it's the OS responsibility to generate a random value for the registers * in each process' context. So, initialize it with 0 here.
target/ppc/excp_helper.c +7 -7
@@ -457,3 +457,3 @@ static void powerpc_excp_40x(PowerPCCPU *cpu, int excp)* new interrupt handler msr preserves existing ME unless -* explicitly overriden. +* explicitly overridden. */
@@ -580,3 +580,3 @@ static void powerpc_excp_6xx(PowerPCCPU *cpu, int excp)* new interrupt handler msr preserves existing ME unless -* explicitly overriden +* explicitly overridden */
@@ -741,3 +741,3 @@ static void powerpc_excp_7xx(PowerPCCPU *cpu, int excp)* new interrupt handler msr preserves existing ME unless -* explicitly overriden +* explicitly overridden */
@@ -912,3 +912,3 @@ static void powerpc_excp_74xx(PowerPCCPU *cpu, int excp)* new interrupt handler msr preserves existing ME unless -* explicitly overriden +* explicitly overridden */
@@ -1075,3 +1075,3 @@ static void powerpc_excp_booke(PowerPCCPU *cpu, int excp)* new interrupt handler msr preserves existing ME unless -* explicitly overriden +* explicitly overridden */
@@ -1288,3 +1288,3 @@ static bool books_vhyp_handles_hcall(PowerPCCPU *cpu)* delivered to the guest (because there is no concept of HV support), but -* rather they are sent tothe vhyp to exit from the L2 back to the L1 and +* rather they are sent to the vhyp to exit from the L2 back to the L1 and * return from the H_ENTER_NESTED hypercall.
@@ -1377,3 +1377,3 @@ static void powerpc_excp_books(PowerPCCPU *cpu, int excp)* new interrupt handler msr preserves existing HV and ME unless -* explicitly overriden +* explicitly overridden */
target/ppc/power8-pmu-regs.c.inc +2 -2
@@ -18,3 +18,3 @@ * - * Read acccess is granted for all PMCC values but 0b01, where a + * Read access is granted for all PMCC values but 0b01, where a * Facility Unavailable Interrupt will occur.
@@ -35,3 +35,3 @@ static bool spr_groupA_read_allowed(DisasContext *ctx) * - * Write acccess is granted for PMCC values 0b10 and 0b11. Userspace + * Write access is granted for PMCC values 0b10 and 0b11. Userspace * writing with PMCC 0b00 will generate a Hypervisor Emulation
target/ppc/translate/vmx-impl.c.inc +3 -3
@@ -121,3 +121,3 @@ static void gen_stve##name(DisasContext *ctx) \ GEN_VR_LDX(lvx, 0x07, 0x03); -/* As we don't emulate the cache, lvxl is stricly equivalent to lvx */ +/* As we don't emulate the cache, lvxl is strictly equivalent to lvx */ GEN_VR_LDX(lvxl, 0x07, 0x0B);
@@ -129,3 +129,3 @@ GEN_VR_LVE(wx, 0x07, 0x02, 4); GEN_VR_STX(svx, 0x07, 0x07); -/* As we don't emulate the cache, stvxl is stricly equivalent to stvx */ +/* As we don't emulate the cache, stvxl is strictly equivalent to stvx */ GEN_VR_STX(svxl, 0x07, 0x0F);
@@ -1530,3 +1530,3 @@ static void gen_vprtyb_vec(unsigned vece, TCGv_vec t, TCGv_vec b) TCGv_vec tmp = tcg_temp_new_vec_matching(b); - /* MO_32 is 2, so 2 iteractions for MO_32 and 3 for MO_64 */ + /* MO_32 is 2, so 2 iterations for MO_32 and 3 for MO_64 */ for (i = 0; i < vece; i++) {
Signature · 1 line
2.39.2
PATCH 12/29 tree-wide spelling fixes in comments and some messages: riscv
In reply to Michael Tokarev--- hw/riscv/microchip_pfsoc.c | 2 +- hw/riscv/virt.c | 4 ++-- include/hw/riscv/riscv_hart.h | 2 +- target/riscv/cpu.h | 2 +- target/riscv/cpu_bits.h | 4 ++-- target/riscv/csr.c | 4 ++-- target/riscv/debug.c | 10 +++++----- target/riscv/insn_trans/trans_rvf.c.inc | 4 ++-- target/riscv/insn_trans/trans_rvv.c.inc | 4 ++-- target/riscv/insn_trans/trans_rvzfh.c.inc | 4 ++-- target/riscv/monitor.c | 2 +- 11 files changed, 21 insertions(+), 21 deletions(-)
hw/riscv/microchip_pfsoc.c +1 -1
@@ -661,3 +661,3 @@ static void microchip_icicle_kit_machine_class_init(ObjectClass *oc, void *data)/* -* Map 513 MiB high memory, the mimimum required high memory size, because +* Map 513 MiB high memory, the minimum required high memory size, because * HSS will do memory test against the high memory address range regardless
hw/riscv/virt.c +2 -2
@@ -68,3 +68,3 @@ IMSIC_GROUP_SIZE(VIRT_CPUS_MAX_BITS, VIRT_IRQCHIP_MAX_GUESTS_BITS) -#error "Can't accomodate single IMSIC group in address space" +#error "Can't accommodate single IMSIC group in address space"#endif
@@ -74,3 +74,3 @@#if 0x4000000 <VIRT_IMSIC_MAX_SIZE -#error "Can't accomodate all IMSIC groups in address space" +#error "Can't accommodate all IMSIC groups in address space"#endif
include/hw/riscv/riscv_hart.h +1 -1
@@ -5,3 +5,3 @@* -* Holds the state of a heterogenous array of RISC-V harts +* Holds the state of a heterogeneous array of RISC-V harts *
target/riscv/cpu.h +1 -1
@@ -351,3 +351,3 @@ struct CPUArchState { -/* CSRs for execution enviornment configuration */ +/* CSRs for execution environment configuration */ uint64_t menvcfg;
target/riscv/cpu_bits.h +2 -2
@@ -658,3 +658,3 @@ typedef enum { -/* Default Reset Vector adress */ +/* Default Reset Vector address */ #define DEFAULT_RSTVEC 0x1000
@@ -742,3 +742,3 @@ typedef enum RISCVException { -/* Execution enviornment configuration bits */ +/* Execution environment configuration bits */ #define MENVCFG_FIOM BIT(0)
target/riscv/csr.c +2 -2
@@ -3218,3 +3218,3 @@ static int write_hvipriox(CPURISCVState *env, int first_index, -/* Fill-up priority arrary */ +/* Fill-up priority array */ for (i =0 ; i < num_irqs; i++) {
@@ -3887,3 +3887,3 @@ static inline RISCVException riscv_csrrw_check(CPURISCVState *env,/* -* We are in HS mode. Add 1 to the effective privledge level to +* We are in HS mode. Add 1 to the effective privilege level to * allow us to access the Hypervisor CSRs.
target/riscv/debug.c +5 -5
@@ -576,3 +576,3 @@ static void riscv_itrigger_update_count(CPURISCVState *env)* Record last icount, so that we can evaluate the executed instructions -* since last priviledge mode change or timer expire. +* since last privilege mode change or timer expire. */
@@ -590,3 +590,3 @@ static void riscv_itrigger_update_count(CPURISCVState *env)/* -* Only when priviledge is changed or itrigger timer expires, +* Only when privilege is changed or itrigger timer expires, * the count field in itrigger tdata1 register is updated.
@@ -596,4 +596,4 @@ static void riscv_itrigger_update_count(CPURISCVState *env)/* -* If itrigger enabled in this priviledge mode, the number of -* executed instructions since last priviledge change +* If itrigger enabled in this privilege mode, the number of +* executed instructions since last privilege change * should be reduced from current itrigger count.
@@ -607,3 +607,3 @@ static void riscv_itrigger_update_count(CPURISCVState *env)/* -* If itrigger is not enabled in this priviledge mode, +* If itrigger is not enabled in this privilege mode, * the number of executed instructions will be discard and
target/riscv/insn_trans/trans_rvf.c.inc +2 -2
@@ -302,3 +302,3 @@ static bool trans_fsgnjn_s(DisasContext *ctx, arg_fsgnjn_s *a) } - /* signed-extended intead of nanboxing for result if enable zfinx */ + /* signed-extended instead of nanboxing for result if enable zfinx */ if (ctx->cfg_ptr->ext_zfinx) {
@@ -347,3 +347,3 @@ static bool trans_fsgnjx_s(DisasContext *ctx, arg_fsgnjx_s *a) } - /* signed-extended intead of nanboxing for result if enable zfinx */ + /* signed-extended instead of nanboxing for result if enable zfinx */ if (ctx->cfg_ptr->ext_zfinx) {
target/riscv/insn_trans/trans_rvv.c.inc +2 -2
@@ -2242,3 +2242,3 @@ GEN_OPIWI_NARROW_TRANS(vnclip_wi, IMM_ZX, vnclip_wx) * NaN-boxed value, in which case the least-significant SEW bits - * of the f regsiter are used, else the canonical NaN value is used. + * of the f register are used, else the canonical NaN value is used. */
@@ -3284,3 +3284,3 @@ static void load_element(TCGv_i64 dest, TCGv_ptr base, -/* offset of the idx element with base regsiter r */ +/* offset of the idx element with base register r */ static uint32_t endian_ofs(DisasContext *s, int r, int idx)
target/riscv/insn_trans/trans_rvzfh.c.inc +2 -2
@@ -307,3 +307,3 @@ static bool trans_fsgnjn_h(DisasContext *ctx, arg_fsgnjn_h *a) } - /* signed-extended intead of nanboxing for result if enable zfinx */ + /* signed-extended instead of nanboxing for result if enable zfinx */ if (ctx->cfg_ptr->ext_zfinx) {
@@ -351,3 +351,3 @@ static bool trans_fsgnjx_h(DisasContext *ctx, arg_fsgnjx_h *a) } - /* signed-extended intead of nanboxing for result if enable zfinx */ + /* signed-extended instead of nanboxing for result if enable zfinx */ if (ctx->cfg_ptr->ext_zfinx) {
target/riscv/monitor.c +1 -1
@@ -57,3 +57,3 @@ static void print_pte(Monitor *mon, int va_bits, target_ulong vaddr, { -/* santity check on vaddr */ +/* sanity check on vaddr */ if (vaddr >= (1UL << va_bits)) {
Signature · 1 line
2.39.2
PATCH 13/29 tree-wide spelling fixes in comments and some messages: s390x
In reply to Michael Tokarev--- hw/intc/s390_flic_kvm.c | 2 +- include/hw/s390x/s390-pci-bus.h | 2 +- include/hw/s390x/sclp.h | 2 +- target/s390x/cpu_features.c | 2 +- target/s390x/cpu_models.c | 2 +- target/s390x/tcg/fpu_helper.c | 2 +- target/s390x/tcg/insn-data.h.inc | 2 +- target/s390x/tcg/translate.c | 2 +- tests/tcg/s390x/mvc.c | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-)
hw/intc/s390_flic_kvm.c +1 -1
@@ -382,3 +382,3 @@ static void kvm_s390_release_adapter_routes(S390FLICState *fs,* Note: Pass buf and len to kernel. Start with one page and -* increase until buffer is sufficient or maxium size is +* increase until buffer is sufficient or maximum size is * reached
include/hw/s390x/s390-pci-bus.h +1 -1
@@ -186,3 +186,3 @@ enum ZpciIoatDtype {* state and enabled via clp enable/disable -* enbaled: device is ready for use; transition to disabled via clp disable; +* enabled: device is ready for use; transition to disabled via clp disable; * may enter an error state
include/hw/s390x/sclp.h +1 -1
@@ -89,3 +89,3 @@* alter the structure while we parse it. We cannot use ldl_p and friends -* either without doing pointer arithmetics +* either without doing pointer arithmetic * So we have to double check that all users of sclp data structures use the
target/s390x/cpu_features.c +1 -1
@@ -251,3 +251,3 @@ static void init_groups(void) -/* init all bitmaps from gnerated data initially */ +/* init all bitmaps from generated data initially */ for (i =0 ; i <ARRAY_SIZE (s390_feature_groups); i++) {
target/s390x/cpu_models.c +1 -1
@@ -977,3 +977,3 @@ static void register_types(void) -/* init all bitmaps from gnerated data initially */ +/* init all bitmaps from generated data initially */ s390_init_feat_bitmap (qemu_max_init, qemu_max_cpu_feat);
target/s390x/tcg/fpu_helper.c +1 -1
@@ -88,3 +88,3 @@ static void handle_exceptions(CPUS390XState *env, bool XxC, uintptr_t retaddr)* FIXME: -* 1. Right now, all inexact conditions are inidicated as +* 1. Right now, all inexact conditions are indicated as * "truncated" (0) and never as "incremented" (1) in the DXC.
target/s390x/tcg/insn-data.h.inc +1 -1
@@ -531,3 +531,3 @@ C(0xc406, LLGHRL, RIL_b, GIE, 0, ri2, r1, 0, ld16u, 0) -/* LOAD LOGICAL IMMEDATE */ +/* LOAD LOGICAL IMMEDIATE */ D(0xc00e, LLIHF, RIL_a, EI, 0, i2_32u_shl, 0, r1, mov2, 0, 32)
target/s390x/tcg/translate.c +1 -1
@@ -431,3 +431,3 @@ static void gen_program_exception(DisasContext *s, int code) { -/* Remember what pgm exeption this was. */ +/* Remember what pgm exception this was. */ tcg_gen_st_i32(tcg_constant_i32(code), cpu_env,
tests/tcg/s390x/mvc.c +1 -1
@@ -87,3 +87,3 @@ int main(void) -/* test if MVC works now correctly accross page boundaries */ +/* test if MVC works now correctly across page boundaries */ mvc_256 (dst +4096 -128 , src +4096 -128 );
Signature · 1 line
2.39.2
Re: [PATCH, trivial 13/29] tree-wide spelling fixes in comments and some messages: s390x
Quoted 90 lines · Michael Tokarev
Signed-off-by Michael Tokarev <[email protected]>--- hw/intc/s390_flic_kvm.c | 2 +- include/hw/s390x/s390-pci-bus.h | 2 +- include/hw/s390x/sclp.h | 2 +- target/s390x/cpu_features.c | 2 +- target/s390x/cpu_models.c | 2 +- target/s390x/tcg/fpu_helper.c | 2 +- target/s390x/tcg/insn-data.h.inc | 2 +- target/s390x/tcg/translate.c | 2 +- tests/tcg/s390x/mvc.c | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-)hw/intc/s390_flic_kvm.c +1
-1@@ -382,3 +382,3 @@ static void kvm_s390_release_adapter_routes(S390FLICState *fs,* Note: Pass buf and len to kernel. Start with one page and -* increase until buffer is sufficient or maxium size is +* increase until buffer is sufficient or maximum size is * reached include/hw/s390x/s390-pci-bus.h +1
-1@@ -186,3 +186,3 @@ enum ZpciIoatDtype {* state and enabled via clp enable/disable -* enbaled: device is ready for use; transition to disabled via clp disable; +* enabled: device is ready for use; transition to disabled via clp disable; * may enter an error state include/hw/s390x/sclp.h +1
-1@@ -89,3 +89,3 @@* alter the structure while we parse it. We cannot use ldl_p and friends -* either without doing pointer arithmetics +* either without doing pointer arithmetic * So we have to double check that all users of sclp data structures use the target/s390x/cpu_features.c +1
-1@@ -251,3 +251,3 @@ static void init_groups(void) -/* init all bitmaps from gnerated data initially */ +/* init all bitmaps from generated data initially */ for (i =0 ; i <ARRAY_SIZE (s390_feature_groups); i++) {target/s390x/cpu_models.c +1
-1@@ -977,3 +977,3 @@ static void register_types(void) -/* init all bitmaps from gnerated data initially */ +/* init all bitmaps from generated data initially */ s390_init_feat_bitmap (qemu_max_init, qemu_max_cpu_feat);target/s390x/tcg/fpu_helper.c +1
-1@@ -88,3 +88,3 @@ static void handle_exceptions(CPUS390XState *env, bool XxC, uintptr_t retaddr)* FIXME: -* 1. Right now, all inexact conditions are inidicated as +* 1. Right now, all inexact conditions are indicated as * "truncated" (0) and never as "incremented" (1) in the DXC. target/s390x/tcg/insn-data.h.inc +1
-1@@ -531,3 +531,3 @@ C(0xc406, LLGHRL, RIL_b, GIE, 0, ri2, r1, 0, ld16u, 0) -/* LOAD LOGICAL IMMEDATE */ +/* LOAD LOGICAL IMMEDIATE */ D(0xc00e, LLIHF, RIL_a, EI, 0, i2_32u_shl, 0, r1, mov2, 0, 32)target/s390x/tcg/translate.c +1
-1@@ -431,3 +431,3 @@ static void gen_program_exception(DisasContext *s, int code) { -/* Remember what pgm exeption this was. */ +/* Remember what pgm exception this was. */ tcg_gen_st_i32(tcg_constant_i32(code), cpu_env,tests/tcg/s390x/mvc.c +0
-0
tests/tcg/s390x/mvc.c int main(void) · line 89
Quoted 4 lines
tests/tcg/s390x/mvc.c +1
-1@@ -87,3 +87,3 @@ int main(void) -/* test if MVC works now correctly accross page boundaries */ +/* test if MVC works now correctly across page boundaries */ mvc_256 (dst +4096 -128 , src +4096 -128 );
PATCH 14/29 tree-wide spelling fixes in comments and some messages: hexagon
In reply to Michael Tokarev--- target/hexagon/README | 2 +- target/hexagon/fma_emu.c | 2 +- target/hexagon/idef-parser/README.rst | 2 +- target/hexagon/idef-parser/idef-parser.h | 2 +- target/hexagon/idef-parser/parser-helpers.c | 6 +++--- target/hexagon/imported/alu.idef | 8 ++++---- target/hexagon/imported/macros.def | 2 +- target/hexagon/imported/mmvec/ext.idef | 10 +++++----- tests/tcg/hexagon/fpstuff.c | 2 +- tests/tcg/hexagon/test_clobber.S | 2 +- 10 files changed, 19 insertions(+), 19 deletions(-)
target/hexagon/README +1 -1
@@ -241,3 +241,3 @@ VLIW packet semantics differ from serial semantics in that all input operands are read, then the operations are performed, then all the results are written. -For exmaple, this packet performs a swap of registers r0 and r1 +For example, this packet performs a swap of registers r0 and r1 { r0 = r1; r1 = r0 }
target/hexagon/fma_emu.c +1 -1
@@ -417,3 +417,3 @@ static SUFFIX accum_round_##SUFFIX(Accum a, float_status * fp_status) \* shifted out lots of bits from B, or if we had no shift / 1 shift sticky \ -* shoudl be 0 \ +* should be 0 \ */ \
target/hexagon/idef-parser/README.rst +1 -1
@@ -442,3 +442,3 @@ Run-time errors can be divided between lexing and parsing errors, lexing errors are hard to detect, since the ``var`` token will catch everything which is not -catched by other tokens, but easy to fix, because most of the time a simple +caught by other tokens, but easy to fix, because most of the time a simple regex editing will be enough.
target/hexagon/idef-parser/idef-parser.h +1 -1
@@ -75,3 +75,3 @@ typedef struct HexTmp {/** -* Enum of the possible immediated, an immediate is a value which is known +* Enum of the possible immediate, an immediate is a value which is known * at tinycode generation time, e.g. an integer value, not a TCGv
target/hexagon/idef-parser/parser-helpers.c +3 -3
@@ -461,3 +461,3 @@ static bool try_find_variable(Context *c, YYLTYPE *locp, -/* Calls `try_find_variable` and asserts succcess. */ +/* Calls `try_find_variable` and asserts success. */ static void find_variable(Context *c, YYLTYPE *locp,
@@ -551,3 +551,3 @@ HexValue gen_bin_cmp(Context *c,default : -fprintf (stderr,"Error in evalutating immediateness!" ); +fprintf (stderr,"Error in evaluating immediateness!" );abort ();
@@ -1166,3 +1166,3 @@ void gen_rdeposit_op(Context *c,* Otherwise if the width is not known, we fallback on reimplementing -* desposit in TCG. +* deposit in TCG. */
target/hexagon/imported/alu.idef +4 -4
@@ -294,12 +294,12 @@ Q6INSN(A4_combineii,"Rdd32=combine(#s8,#U6)",ATTRIBS(),"Set two small immediates Q6INSN(A2_combine_hh,"Rd32=combine(Rt.H32,Rs.H32)",ATTRIBS(), -"Combine two halfs into a register", {RdV = (fGETUHALF(1,RtV)<<16) | fGETUHALF(1,RsV);}) +"Combine two halves into a register", {RdV = (fGETUHALF(1,RtV)<<16) | fGETUHALF(1,RsV);}) Q6INSN(A2_combine_hl,"Rd32=combine(Rt.H32,Rs.L32)",ATTRIBS(), -"Combine two halfs into a register", {RdV = (fGETUHALF(1,RtV)<<16) | fGETUHALF(0,RsV);}) +"Combine two halves into a register", {RdV = (fGETUHALF(1,RtV)<<16) | fGETUHALF(0,RsV);}) Q6INSN(A2_combine_lh,"Rd32=combine(Rt.L32,Rs.H32)",ATTRIBS(), -"Combine two halfs into a register", {RdV = (fGETUHALF(0,RtV)<<16) | fGETUHALF(1,RsV);}) +"Combine two halves into a register", {RdV = (fGETUHALF(0,RtV)<<16) | fGETUHALF(1,RsV);}) Q6INSN(A2_combine_ll,"Rd32=combine(Rt.L32,Rs.L32)",ATTRIBS(), -"Combine two halfs into a register", {RdV = (fGETUHALF(0,RtV)<<16) | fGETUHALF(0,RsV);}) +"Combine two halves into a register", {RdV = (fGETUHALF(0,RtV)<<16) | fGETUHALF(0,RsV);})
target/hexagon/imported/macros.def +1 -1
@@ -904,3 +904,3 @@ DEF_MACRO( DEF_MACRO( - fEA_GPI, /* Calculate EA with Global Poitner + Immediate */ + fEA_GPI, /* Calculate EA with Global Pointer + Immediate */ do { EA=fREAD_GP()+IMM; fGP_DOCHKPAGECROSS(fREAD_GP(),EA); } while (0),
target/hexagon/imported/mmvec/ext.idef +5 -5
@@ -19,3 +19,3 @@ * - * HOYA: MULTI MEDIA INSTRUCITONS + * HOYA: MULTI MEDIA INSTRUCTIONS *
@@ -297,3 +297,3 @@ MMVEC_EACH_EA(vS32b_new,"Aligned Vector Store New",ATTRIBS(ATTR_VMEM,A_STORE,A_C -// V65 store relase, zero byte store +// V65 store release, zero byte store MMVEC_EACH_EA(vS32b_srls,"Aligned Vector Scatter Release",ATTRIBS(ATTR_VMEM,A_STORE,A_CVI_SCATTER_RELEASE,A_CVI_NEW,A_RESTRICT_SLOT0ONLY),,"vmem",":scatter_release",fSTORERELEASE(EA,0))
@@ -2047,7 +2047,7 @@ VxV.uw[0] = RtV;) -ITERATOR_INSN_MPY_SLOT_LATE(32,lvsplatw, "Vd32=vsplat(Rt32)", "Replicates scalar accross words in vector", VdV.uw[i] = RtV) +ITERATOR_INSN_MPY_SLOT_LATE(32,lvsplatw, "Vd32=vsplat(Rt32)", "Replicates scalar across words in vector", VdV.uw[i] = RtV) -ITERATOR_INSN_MPY_SLOT_LATE(16,lvsplath, "Vd32.h=vsplat(Rt32)", "Replicates scalar accross halves in vector", VdV.uh[i] = RtV) +ITERATOR_INSN_MPY_SLOT_LATE(16,lvsplath, "Vd32.h=vsplat(Rt32)", "Replicates scalar across halves in vector", VdV.uh[i] = RtV) -ITERATOR_INSN_MPY_SLOT_LATE(8,lvsplatb, "Vd32.b=vsplat(Rt32)", "Replicates scalar accross bytes in vector", VdV.ub[i] = RtV) +ITERATOR_INSN_MPY_SLOT_LATE(8,lvsplatb, "Vd32.b=vsplat(Rt32)", "Replicates scalar across bytes in vector", VdV.ub[i] = RtV)
tests/tcg/hexagon/fpstuff.c +1 -1
@@ -54,3 +54,3 @@ static void check_compare_exception(void) -/* Check that FP compares are quiet (don't raise any execptions) */ +/* Check that FP compares are quiet (don't raise any exceptions) */ asm (CLEAR_FPSTATUS
tests/tcg/hexagon/test_clobber.S +1 -1
@@ -1,3 +1,3 @@ /* - * Purpose: demonstrate the succesful operation of the register save mechanism, + * Purpose: demonstrate the successful operation of the register save mechanism, * in which the caller saves the registers that will be clobbered, and restores
Signature · 1 line
2.39.2
PATCH 15/29 tree-wide spelling fixes in comments and some messages: other architectures
In reply to Michael Tokarev--- host/include/aarch64/host/cpuinfo.h | 2 +- host/include/generic/host/cpuinfo.h | 2 +- hw/m68k/next-cube.c | 2 +- hw/m68k/next-kbd.c | 2 +- hw/m68k/virt.c | 2 +- hw/microblaze/petalogix_ml605_mmu.c | 2 +- hw/misc/allwinner-r40-dramc.c | 2 +- hw/misc/exynos4210_rng.c | 2 +- hw/sparc/sun4m_iommu.c | 8 ++++---- target/alpha/cpu.h | 4 ++-- target/alpha/translate.c | 2 +- target/cris/helper.c | 6 +++--- target/cris/op_helper.c | 2 +- target/cris/translate.c | 16 ++++++++-------- target/hppa/cpu.h | 4 ++-- target/hppa/int_helper.c | 2 +- target/hppa/translate.c | 2 +- target/loongarch/cpu-csr.h | 2 +- target/m68k/helper.c | 4 ++-- target/microblaze/cpu.h | 2 +- target/openrisc/cpu.h | 2 +- target/openrisc/translate.c | 4 ++-- target/rx/translate.c | 4 ++-- target/sparc/asi.h | 14 +++++++------- target/tricore/csfr.h.inc | 2 +- target/tricore/helper.c | 2 +- target/tricore/translate.c | 8 ++++---- tests/tcg/Makefile.target | 4 ++-- tests/tcg/aarch64/gdbstub/test-sve.py | 2 +- tests/tcg/aarch64/sme-outprod1.c | 2 +- tests/tcg/aarch64/system/boot.S | 6 +++--- tests/tcg/aarch64/system/semiheap.c | 2 +- tests/tcg/multiarch/sha512.c | 2 +- .../tcg/multiarch/system/Makefile.softmmu-target | 2 +- tests/tcg/tricore/c/crt0-tc2x.S | 4 ++-- tests/tcg/x86_64/system/boot.S | 4 ++-- 36 files changed, 67 insertions(+), 67 deletions(-)
host/include/aarch64/host/cpuinfo.h +1 -1
@@ -2,3 +2,3 @@* SPDX-License-Identifier: GPL-2.0-or-later -* Host specific cpu indentification for AArch64. +* Host specific cpu identification for AArch64. */
host/include/generic/host/cpuinfo.h +1 -1
@@ -1,3 +1,3 @@/* -* No host specific cpu indentification. +* No host specific cpu identification. * SPDX-License-Identifier: GPL-2.0-or-later
hw/m68k/next-cube.c +1 -1
@@ -736,3 +736,3 @@ static void next_irq(void *opaque, int number, int level) -/* first switch sets interupt status */ +/* first switch sets interrupt status */ /* DPRINTF("IRQ %i\n",number); */
hw/m68k/next-kbd.c +1 -1
@@ -39,3 +39,3 @@ OBJECT_DECLARE_SIMPLE_TYPE(NextKBDState, NEXTKBD) -/* following defintions from next68k netbsd */ +/* following definitions from next68k netbsd */ #define CSR_INT 0x00800000
hw/m68k/virt.c +1 -1
@@ -3,3 +3,3 @@* -* QEMU Vitual M68K Machine +* QEMU Virtual M68K Machine *
hw/microblaze/petalogix_ml605_mmu.c +1 -1
@@ -106,3 +106,3 @@ petalogix_ml605_init(MachineState *machine)/* 5th parameter 2 means bank-width -* 10th paremeter 0 means little-endian */ +* 10th parameter 0 means little-endian */ pflash_cfi01_register(FLASH_BASEADDR, "petalogix_ml605.flash", FLASH_SIZE,
hw/misc/allwinner-r40-dramc.c +1 -1
@@ -370,3 +370,3 @@ static const MemoryRegionOps allwinner_r40_detect_ops = {* mctl_r40_detect_rank_count in u-boot will write the high 1G of DDR -* to detect wether the board support dual_rank or not. Create a virtual memory +* to detect whether the board support dual_rank or not. Create a virtual memory * if the board's ram_size less or equal than 1G, and set read time out flag of
hw/misc/exynos4210_rng.c +1 -1
@@ -1,3 +1,3 @@/* -* Exynos4210 Pseudo Random Nubmer Generator Emulation +* Exynos4210 Pseudo Random Number Generator Emulation *
hw/sparc/sun4m_iommu.c +4 -4
@@ -98,6 +98,6 @@ -#define IOMMU_SBCFG0 (0x1010 >> 2)/* SBUS configration per-slot */ -#define IOMMU_SBCFG1 (0x1014 >> 2)/* SBUS configration per-slot */ -#define IOMMU_SBCFG2 (0x1018 >> 2)/* SBUS configration per-slot */ -#define IOMMU_SBCFG3 (0x101c >> 2)/* SBUS configration per-slot */ +#define IOMMU_SBCFG0 (0x1010 >> 2)/* SBUS configuration per-slot */ +#define IOMMU_SBCFG1 (0x1014 >> 2)/* SBUS configuration per-slot */ +#define IOMMU_SBCFG2 (0x1018 >> 2)/* SBUS configuration per-slot */ +#define IOMMU_SBCFG3 (0x101c >> 2)/* SBUS configuration per-slot */ #define IOMMU_SBCFG_SAB30 0x00010000/* Phys-address bit 30 when
target/alpha/cpu.h +2 -2
@@ -193,3 +193,3 @@ enum {so we don't need to implement Executive and Supervisor. QEMU's own -PALcode cheats and usees the KSEG mapping for its code+data rather than +PALcode cheats and uses the KSEG mapping for its code+data rather than physical addresses. */
@@ -364,3 +364,3 @@ enum { -/* CPUAlphaState->flags constants. These are layed out so that we +/* CPUAlphaState->flags constants. These are laid out so that we can set or reset the pieces individually by assigning to the byte,
target/alpha/translate.c +1 -1
@@ -2895,3 +2895,3 @@ static void alpha_tr_init_disas_context(DisasContextBase *dcbase, CPUState *cpu)to reset the FP_STATUS to that default at the end of any TB that -changes the default. We could even (gasp) dynamiclly figure out +changes the default. We could even (gasp) dynamically figure out what default would be most efficient given the running program. */
target/cris/helper.c +3 -3
@@ -115,3 +115,3 @@ void crisv10_cpu_do_interrupt(CPUState *cs)case EXCP_BREAK : -/* These exceptions are genereated by the core itself. +/* These exceptions are generated by the core itself. ERP should point to the insn following the brk. */
@@ -171,3 +171,3 @@ void cris_cpu_do_interrupt(CPUState *cs)case EXCP_BREAK : -/* These exceptions are genereated by the core itself. +/* These exceptions are generated by the core itself. ERP should point to the insn following the brk. */
@@ -230,3 +230,3 @@ void cris_cpu_do_interrupt(CPUState *cs) -/* Clear the excption_index to avoid spurios hw_aborts for recursive +/* Clear the excption_index to avoid spurious hw_aborts for recursive bus faults. */
target/cris/op_helper.c +1 -1
@@ -233,3 +233,3 @@ static inline uint32_t evaluate_flags_writeback(CPUCRISState *env, -/* Extended arithmetics, leave the z flag alone. */ +/* Extended arithmetic, leave the z flag alone. */ x = env->cc_x;
target/cris/translate.c +8 -8
@@ -344,3 +344,3 @@ static void t_gen_cris_mstep(TCGv d, TCGv a, TCGv b, TCGv ccs) -/* Extended arithmetics on CRIS. */ +/* Extended arithmetic on CRIS. */ static inline void t_gen_add_flag (TCGv d,int flag)
@@ -648,3 +648,3 @@ static void cris_alu_op_exec(DisasContext *dc, int op,tcg_gen_add_tl (dst, a, b); -/* Extended arithmetics. */ +/* Extended arithmetic. */ t_gen_addx_carry (dc, dst);
@@ -661,3 +661,3 @@ static void cris_alu_op_exec(DisasContext *dc, int op,tcg_gen_sub_tl (dst, a, b); -/* Extended arithmetics. */ +/* Extended arithmetic. */ t_gen_subx_carry (dc, dst);
@@ -687,3 +687,3 @@ static void cris_alu_op_exec(DisasContext *dc, int op,tcg_gen_neg_tl (dst, b); -/* Extended arithmetics. */ +/* Extended arithmetic. */ t_gen_subx_carry (dc, dst);
@@ -710,3 +710,3 @@ static void cris_alu_op_exec(DisasContext *dc, int op,tcg_gen_sub_tl (dst, a, b); -/* Extended arithmetics. */ +/* Extended arithmetic. */ t_gen_subx_carry (dc, dst);
@@ -2926,3 +2926,3 @@ static unsigned int crisv32_decoder(CPUCRISState *env, DisasContext *dc)* -* The TB contaning the branch insn will set up env->btarget and evaluate +* The TB containing the branch insn will set up env->btarget and evaluate * env->btaken. When the translation loop exits we will note that the branch
@@ -2931,3 +2931,3 @@ static unsigned int crisv32_decoder(CPUCRISState *env, DisasContext *dc)* -* The TB contaning the delayslot will have the PC of its real insn (i.e no lsb +* The TB containing the delayslot will have the PC of its real insn (i.e no lsb * set). It will also expect to have env->dslot setup with the size of the
@@ -3145,3 +3145,3 @@ static void cris_tr_tb_stop(DisasContextBase *dcbase, CPUState *cpu)case DISAS_UPDATE : -/* Indicate that interupts must be re-evaluated before the next TB. */ +/* Indicate that interrupts must be re-evaluated before the next TB. */ tcg_gen_exit_tb (NULL ,0 );
target/hppa/cpu.h +2 -2
@@ -37,3 +37,3 @@ -/* Hardware exceptions, interupts, faults, and traps. */ +/* Hardware exceptions, interrupts, faults, and traps. */ #define EXCP_HPMC 1/* high priority machine check */
@@ -278,3 +278,3 @@ static inline void cpu_get_tb_cpu_state(CPUHPPAState *env, vaddr *pc,incomplete virtual address. This also means that we must separate -out current cpu priviledge from the low bits of IAOQ_F. */ +out current cpu privilege from the low bits of IAOQ_F. */ #ifdef CONFIG_USER_ONLY
target/hppa/int_helper.c +1 -1
@@ -39,3 +39,3 @@ static void eval_interrupt(HPPACPU *cpu)* can write to this word to raise an external interrupt on the target CPU. -* This includes the system controler (DINO) for regular devices, or +* This includes the system controller (DINO) for regular devices, or * another CPU for SMP interprocessor interrupts.
target/hppa/translate.c +1 -1
@@ -1966,3 +1966,3 @@ static void do_page_zero(DisasContext *ctx)the B,GATE instruction would be skipped, and we'd fault on the -next insn within the privilaged page. */ +next insn within the privileged page. */ switch (ctx->null_cond.c) {
target/loongarch/cpu-csr.h +1 -1
@@ -12,3 +12,3 @@ -/* Base on kernal definitions: arch/loongarch/include/asm/loongarch.h */ +/* Based on kernel definitions: arch/loongarch/include/asm/loongarch.h */
target/m68k/helper.c +2 -2
@@ -592,6 +592,6 @@ static void dump_address_map(CPUM68KState *env, uint32_t root_pointer)switch (a &M68K_DESC_CACHEMODE ) { \ -case M68K_DESC_CM_WRTHRU :/* cachable, write-through */ \ +case M68K_DESC_CM_WRTHRU :/* cacheable, write-through */ \qemu_printf ("T" ); \break ; \ -case M68K_DESC_CM_COPYBK :/* cachable, copyback */ \ +case M68K_DESC_CM_COPYBK :/* cacheable, copyback */ \qemu_printf ("C" ); \
target/microblaze/cpu.h +1 -1
@@ -207,3 +207,3 @@ typedef struct CPUArchState CPUMBState; -/* MMU descrtiption */ +/* MMU description */ #define PVR11_USE_MMU 0xC0000000
target/openrisc/cpu.h +1 -1
@@ -292,3 +292,3 @@ typedef struct CPUArchState {uint32_t picmr;/* Interrupt mask register */ -uint32_t picsr;/* Interrupt contrl register*/ +uint32_t picsr;/* Interrupt control register */ #endif
target/openrisc/translate.c +2 -2
@@ -275,3 +275,3 @@ static void gen_div(DisasContext *dc, TCGv dest, TCGv srca, TCGv srcb)/* The result of divide-by-zero is undefined. -Supress the host-side exception by dividing by 1. */ +Suppress the host-side exception by dividing by 1. */ tcg_gen_or_tl (t0, srcb, cpu_sr_ov);
@@ -289,3 +289,3 @@ static void gen_divu(DisasContext *dc, TCGv dest, TCGv srca, TCGv srcb)/* The result of divide-by-zero is undefined. -Supress the host-side exception by dividing by 1. */ +Suppress the host-side exception by dividing by 1. */ tcg_gen_or_tl (t0, srcb, cpu_sr_cy);
target/rx/translate.c +2 -2
@@ -2068,3 +2068,3 @@ static inline void clrsetpsw(DisasContext *ctx, int cb, int val)default : -qemu_log_mask (LOG_GUEST_ERROR ,"Invalid distination %d" , cb); +qemu_log_mask (LOG_GUEST_ERROR ,"Invalid destination %d" , cb);break ;
@@ -2086,3 +2086,3 @@ static inline void clrsetpsw(DisasContext *ctx, int cb, int val)default : -qemu_log_mask (LOG_GUEST_ERROR ,"Invalid distination %d" , cb); +qemu_log_mask (LOG_GUEST_ERROR ,"Invalid destination %d" , cb);break ;
target/sparc/asi.h +7 -7
@@ -146,3 +146,3 @@*/ -#define ASI_REAL 0x14/* Real address, cachable */ +#define ASI_REAL 0x14/* Real address, cacheable */ #define ASI_PHYS_USE_EC 0x14/* PADDR, E-cachable */
@@ -152,3 +152,3 @@#define ASI_BLK_AIUS_4V 0x17/* (4V) Sec, user, block ld/st */ -#define ASI_REAL_L 0x1c/* Real address, cachable, LE */ +#define ASI_REAL_L 0x1c/* Real address, cacheable, LE */ #define ASI_PHYS_USE_EC_L 0x1c/* PADDR, E-cachable, little endian*/
@@ -165,5 +165,5 @@*/ -#define ASI_NUCLEUS_QUAD_LDD 0x24/* Cachable, qword load */ +#define ASI_NUCLEUS_QUAD_LDD 0x24/* Cacheable, qword load */ #define ASI_QUEUE 0x25/* (4V) Interrupt Queue Registers */ -#define ASI_TWINX_REAL 0x26/* twin load, real, cachable */ +#define ASI_TWINX_REAL 0x26/* twin load, real, cacheable */ #define ASI_QUAD_LDD_PHYS_4V 0x26/* (4V) Physical, qword load */
@@ -172,4 +172,4 @@#define ASI_TWINX_AIUS_L 0x2b/* twin load, secondary user, LE */ -#define ASI_NUCLEUS_QUAD_LDD_L 0x2c/* Cachable, qword load, l-endian */ -#define ASI_TWINX_REAL_L 0x2e/* twin load, real, cachable, LE */ +#define ASI_NUCLEUS_QUAD_LDD_L 0x2c/* Cacheable, qword load, l-endian */ +#define ASI_TWINX_REAL_L 0x2e/* twin load, real, cacheable, LE */ #define ASI_QUAD_LDD_PHYS_L_4V 0x2e/* (4V) Phys, qword load, l-endian */
@@ -233,3 +233,3 @@#define ASI_CESR_ID 0x63/* (CMT) CESR ID register */ -#define ASI_IC_INSTR 0x66/* Insn cache instrucion ram diag */ +#define ASI_IC_INSTR 0x66/* Insn cache instruction ram diag */ #define ASI_IC_TAG 0x67/* Insn cache tag/valid ram diag */
target/tricore/csfr.h.inc +1 -1
@@ -1,2 +1,2 @@ -/* A(ll) access permited +/* A(ll) access permitted R(ead only) access
target/tricore/helper.c +1 -1
@@ -59,3 +59,3 @@ hwaddr tricore_cpu_get_phys_page_debug(CPUState *cs, vaddr addr) -/* TODO: Add exeption support*/ +/* TODO: Add exception support */ static void raise_mmu_exception(CPUTriCoreState *env, target_ulong address,
target/tricore/translate.c +4 -4
@@ -130,3 +130,3 @@ void tricore_cpu_dump_state(CPUState *cs, FILE *f, int flags) -/* Makros for generating helpers */ +/* Macros for generating helpers */
@@ -338,4 +338,4 @@ static void gen_swapmsk(DisasContext *ctx, int reg, TCGv ea)the function gen_mfcr and gen_mtcr. To handle access permissions, we use 3 -makros R, A and E, which allow read-only, all and endinit protected access. -These makros also specify in which ISA version the csfr was introduced. */ +macros R, A and E, which allow read-only, all and endinit protected access. +These macros also specify in which ISA version the csfr was introduced. */ #define R (ADDRESS ,REG ,FEATURE ) \
@@ -364,3 +364,3 @@ static inline void gen_mfcr(DisasContext *ctx, TCGv ret, int32_t offset)#define R (ADDRESS ,REG ,FEATURE )/* don't gen writes to read-only reg, -since no execption occurs */ +since no exception occurs */ #define A (ADDRESS ,REG ,FEATURE ) R(ADDRESS, REG, FEATURE) \
tests/tcg/Makefile.target +2 -2
@@ -122,3 +122,3 @@ endif else -# For softmmu targets we include a different Makefile fragement as the +# For softmmu targets we include a different Makefile fragment as the # build options for bare programs are usually pretty different. They
@@ -156,3 +156,3 @@ PLUGINS=$(patsubst %.c, lib%.so, $(notdir $(wildcard $(PLUGIN_SRC)/*.c))) # to avoid an exponential explosion as new tests are added. We also -# add some special helpers the run-plugin- rules can use bellow. +# add some special helpers the run-plugin- rules can use below.
tests/tcg/aarch64/gdbstub/test-sve.py +1 -1
@@ -2,3 +2,3 @@ # -# Test the SVE registers are visable and changeable via gdbstub +# Test the SVE registers are visible and changeable via gdbstub #
tests/tcg/aarch64/sme-outprod1.c +1 -1
@@ -30,3 +30,3 @@ asm(* Read the first 4x4 sub-matrix of elements from tile 1: -* Note that za1h should be interchangable here. +* Note that za1h should be interchangeable here. */
tests/tcg/aarch64/system/boot.S +3 -3
@@ -11,3 +11,3 @@ * Semihosting interface on ARM AArch64 - * See "Semihosting for AArch32 and AArch64 Relase 2.0" by ARM + * See "Semihosting for AArch32 and AArch64 Release 2.0" by ARM * w0 - semihosting call number
@@ -149,3 +149,3 @@ __start: * The size of T0SZ controls what the initial lookup level. It - * would be nice to start at level 2 but unfortunatly for a + * would be nice to start at level 2 but unfortunately for a * flat-mapping on the virt machine we need to handle IA's
@@ -191,3 +191,3 @@ __start: /* Setup some stack space and enter the test code. - * Assume everthing except the return value is garbage when we + * Assume everything except the return value is garbage when we * return, we won't need it.
tests/tcg/aarch64/system/semiheap.c +1 -1
@@ -88,3 +88,3 @@ int main(int argc, char *argv[argc]) } -ml_printf ("r/w to heap upto %p\n" , ptr_to_heap); +ml_printf ("r/w to heap up to %p\n" , ptr_to_heap);
tests/tcg/multiarch/sha512.c +1 -1
@@ -455,3 +455,3 @@ void sha512(struct sha512 *sha, const void *p, size_t size)* hex_decode - Unpack a hex string. -* @str: the hexidecimal string +* @str: the hexadecimal string * @slen: the length of @str
tests/tcg/multiarch/system/Makefile.softmmu-target +1 -1
@@ -5,3 +5,3 @@ # We just collect the tests together here and rely on the actual guest -# architecture to add to the test dependancies and deal with the +# architecture to add to the test dependencies and deal with the # complications of building.
tests/tcg/tricore/c/crt0-tc2x.S +2 -2
@@ -265,3 +265,3 @@ __copy_table_next: sh %d0,%d3,-3 # %d0 = length / 8 (doublewords) - and %d1,%d3,7 # %d1 = lenght % 8 (rem. bytes) + and %d1,%d3,7 # %d1 = length % 8 (rem. bytes) jz %d0,__copy_word # block size < 8 => copy word
@@ -276,3 +276,3 @@ __copy_word: sh %d0,%d1,-2 # %d0 = length / 4 (words) - and %d1,%d1,3 # %d1 = lenght % 4 (rem. bytes) + and %d1,%d1,3 # %d1 = length % 4 (rem. bytes) jz %d0,__copy_hword # block size < 4 => copy hword
tests/tcg/x86_64/system/boot.S +2 -2
@@ -123,3 +123,3 @@ _start: - /* don't worry about stack frame, assume everthing is garbage when we return */ + /* don't worry about stack frame, assume everything is garbage when we return */ call main
@@ -197,3 +197,3 @@ idt_1F: .int 0, 0 * segment descriptors. In 32 bit mode each segment each - * segement is associated with segment registers which are + * segment is associated with segment registers which are * implicitly (or explicitly) referenced depending on the
Signature · 1 line
2.39.2
Re: [PATCH, trivial 15/29] tree-wide spelling fixes in comments and some messages: other architectures
Quoted 4 lines · Michael Tokarev
Signed-off-by Michael Tokarev <[email protected]>--- host/include/aarch64/host/cpuinfo.h | 2 +-
This...
Quoted 2 lines
hw/misc/allwinner-r40-dramc.c | 2 +- hw/misc/exynos4210_rng.c | 2 +-
...these...
Quoted 4 lines
tests/tcg/aarch64/gdbstub/test-sve.py | 2 +- tests/tcg/aarch64/sme-outprod1.c | 2 +- tests/tcg/aarch64/system/boot.S | 6 +++--- tests/tcg/aarch64/system/semiheap.c | 2 +-
...and these are all arm, not "other".
But anyway, for the whole patch
thanks
-- PMM
Re: [PATCH, trivial 15/29] tree-wide spelling fixes in comments and some messages: other architectures
Quoted 11 lines · Peter Maydell
Quoted 4 lines · Michael Tokarev
Signed-off-by Michael Tokarev <[email protected]>--- host/include/aarch64/host/cpuinfo.h | 2 +-This...
Quoted 2 lines
hw/misc/allwinner-r40-dramc.c | 2 +- hw/misc/exynos4210_rng.c | 2 +-
Quoted 8 lines
...these...
Quoted 4 lines
tests/tcg/aarch64/gdbstub/test-sve.py | 2 +- tests/tcg/aarch64/sme-outprod1.c | 2 +- tests/tcg/aarch64/system/boot.S | 6 +++--- tests/tcg/aarch64/system/semiheap.c | 2 +-...and these are all arm, not "other".
I'll move these 7 files to the "arm" part, and both can now have your r-b.
Quoted 2 lines
But anyway, for the whole patch
Reviewed-by Peter Maydell <[email protected]>
Thank you!
/mjt
PATCH 16/29 tree-wide spelling fixes in comments and some messages: hw/net
In reply to Michael Tokarev--- hw/net/cadence_gem.c | 10 +++++----- hw/net/dp8393x.c | 2 +- hw/net/e1000_regs.h | 2 +- hw/net/e1000x_regs.h | 2 +- hw/net/fsl_etsec/rings.c | 2 +- hw/net/igb_regs.h | 4 ++-- hw/net/mcf_fec.c | 2 +- hw/net/rocker/rocker_fp.c | 2 +- hw/net/rtl8139.c | 2 +- hw/net/smc91c111.c | 2 +- hw/net/sungem.c | 2 +- hw/net/sunhme.c | 2 +- hw/net/virtio-net.c | 6 +++--- hw/net/vmxnet3.c | 2 +- hw/net/vmxnet3.h | 2 +- 15 files changed, 22 insertions(+), 22 deletions(-)
hw/net/cadence_gem.c +5 -5
@@ -83,4 +83,4 @@#define GEM_MODID (0x000000FC / 4)/* Module ID reg */ -#define GEM_OCTTXLO (0x00000100 / 4)/* Octects transmitted Low reg */ -#define GEM_OCTTXHI (0x00000104 / 4)/* Octects transmitted High reg */ +#define GEM_OCTTXLO (0x00000100 / 4)/* Octets transmitted Low reg */ +#define GEM_OCTTXHI (0x00000104 / 4)/* Octets transmitted High reg */ #define GEM_TXCNT (0x00000108 / 4)/* Error-free Frames transmitted */
@@ -103,4 +103,4 @@#define GEM_CSENSECNT (0x0000014C / 4)/* Carrier Sense Error Counter */ -#define GEM_OCTRXLO (0x00000150 / 4)/* Octects Received register Low */ -#define GEM_OCTRXHI (0x00000154 / 4)/* Octects Received register High */ +#define GEM_OCTRXLO (0x00000150 / 4)/* Octets Received register Low */ +#define GEM_OCTRXHI (0x00000154 / 4)/* Octets Received register High */ #define GEM_RXCNT (0x00000158 / 4)/* Error-free Frames Received */
@@ -956,3 +956,3 @@ static ssize_t gem_receive(NetClientState *nc, const uint8_t *buf, size_t size)if (maf ==GEM_RX_REJECT ) { -return size;/* no, drop siliently b/c it's not an error */ +return size;/* no, drop silently b/c it's not an error */ }
hw/net/dp8393x.c +1 -1
@@ -553,3 +553,3 @@ static uint64_t dp8393x_read(void *opaque, hwaddr addr, unsigned int size)break ; -/* All other registers have no special contraints */ +/* All other registers have no special constraints */ default :
hw/net/e1000_regs.h +1 -1
@@ -132,3 +132,3 @@#define E1000_FFLT_DBG 0x05F04/* Debug Register */ -#define E1000_HICR 0x08F00/* Host Inteface Control */ +#define E1000_HICR 0x08F00/* Host Interface Control */
hw/net/e1000x_regs.h +1 -1
@@ -841,3 +841,3 @@ union e1000_rx_desc_packet_split {#define E1000_RXD_STAT_VP 0x08/* IEEE VLAN Packet */ -#define E1000_RXD_STAT_UDPCS 0x10/* UDP xsum caculated */ +#define E1000_RXD_STAT_UDPCS 0x10/* UDP xsum calculated */ #define E1000_RXD_STAT_TCPCS 0x20/* TCP xsum calculated */
hw/net/fsl_etsec/rings.c +1 -1
@@ -367,3 +367,3 @@ void etsec_walk_tx_ring(eTSEC *etsec, int ring_nbr)/* Save the Buffer Descriptor Pointers to last bd that was not -* succesfully closed */ +* successfully closed */ etsec->regs[TBPTR0 + ring_nbr].value = bd_addr;
hw/net/igb_regs.h +2 -2
@@ -366,3 +366,3 @@ union e1000_adv_rx_desc {#define E1000_VT_MSGINFO_SHIFT 16 -/* bits 23:16 are used for exra info for certain messages */ +/* bits 23:16 are used for extra info for certain messages */ #define E1000_VT_MSGINFO_MASK (0xFF << E1000_VT_MSGINFO_SHIFT)
@@ -492,3 +492,3 @@ union e1000_adv_rx_desc {#define E1000_VT_MSGINFO_SHIFT 16 -/* bits 23:16 are used for exra info for certain messages */ +/* bits 23:16 are used for extra info for certain messages */ #define E1000_VT_MSGINFO_MASK (0xFF << E1000_VT_MSGINFO_SHIFT)
hw/net/mcf_fec.c +1 -1
@@ -573,3 +573,3 @@ static ssize_t mcf_fec_receive(NetClientState *nc, const uint8_t *buf, size_t si crc_ptr = (uint8_t *)&crc; -/* Huge frames are truncted. */ +/* Huge frames are truncated. */ if (size >FEC_MAX_FRAME_SIZE ) {
hw/net/rocker/rocker_fp.c +1 -1
@@ -136,3 +136,3 @@ static ssize_t fp_port_receive_iov(NetClientState *nc, const struct iovec *iov,/* If the port is disabled, we want to drop this pkt -* now rather than queing it for later. We don't want +* now rather than queueing it for later. We don't want * any stale pkts getting into the device when the port
hw/net/rtl8139.c +1 -1
@@ -102,3 +102,3 @@ enum RTL8139_registers { TxStatus0 =0x10 ,/* Transmit status (Four 32bit registers). C mode only */ -/* Dump Tally Conter control register(64bit). C+ mode only */ +/* Dump Tally Counter control register(64bit). C+ mode only */ TxAddr0 = 0x20, /* Tx descriptors (also four 32bit). */
hw/net/smc91c111.c +1 -1
@@ -363,3 +363,3 @@ static void smc91c111_writeb(void *opaque, hwaddr offset,return ; -case 10 :/* Genral Purpose */ +case 10 :/* General Purpose */ SET_LOW (gpr, value);
hw/net/sungem.c +1 -1
@@ -1230,3 +1230,3 @@ static void sungem_mmio_mif_write(void *opaque, hwaddr addr, uint64_t val,case MIF_CFG : -/* Maintain the RO MDI bits to advertize an MDIO PHY on MDI0 */ +/* Maintain the RO MDI bits to advertise an MDIO PHY on MDI0 */ val &= ~MIF_CFG_MDI1 ;
hw/net/sunhme.c +1 -1
@@ -903,3 +903,3 @@ static void sunhme_reset(DeviceState *ds) -/* Advetise auto, 100Mbps FD */ +/* Advertise auto, 100Mbps FD */ s->miiregs[MII_ANAR ] =MII_ANAR_TXFD ;
hw/net/virtio-net.c +3 -3
@@ -1309,3 +1309,3 @@ static bool virtio_net_load_ebpf(VirtIONet *n)if (!virtio_net_attach_ebpf_to_backend (n->nic,-1 )) { -/* backend does't support steering ebpf */ +/* backend doesn't support steering ebpf */ return false;
@@ -2048,3 +2048,3 @@ static void virtio_net_rsc_extract_unit6(VirtioNetRscChain *chain, -/* There is a difference between payload lenght in ipv4 and v6, +/* There is a difference between payload length in ipv4 and v6, ip header is excluded in ipv6 */
@@ -3797,3 +3797,3 @@ static void virtio_net_instance_init(Object *obj)* The default config_size is sizeof(struct virtio_net_config). -* Can be overriden with virtio_net_set_config_size. +* Can be overridden with virtio_net_set_config_size. */
hw/net/vmxnet3.c +1 -1
@@ -1886,3 +1886,3 @@ vmxnet3_io_bar1_read(void *opaque, hwaddr addr, unsigned size)default : -VMW_CBPRN ("Unknow read BAR1[%" PRIx64"], %d bytes" , addr, size); +VMW_CBPRN ("Unknown read BAR1[%" PRIx64"], %d bytes" , addr, size);break ;
hw/net/vmxnet3.h +1 -1
@@ -735,3 +735,3 @@ struct Vmxnet3_RxQueueDesc {struct Vmxnet3_RxQueueConf conf; -/* Driver read after a GET commad */ +/* Driver read after a GET command */ struct Vmxnet3_QueueStatus status;
Signature · 1 line
2.39.2
PATCH 17/29 tree-wide spelling fixes in comments and some messages: hw/pci
In reply to Michael Tokarev--- hw/pci-bridge/cxl_downstream.c | 2 +- hw/pci-bridge/pci_expander_bridge.c | 2 +- hw/pci-host/bonito.c | 2 +- hw/pci-host/designware.c | 4 ++-- hw/pci-host/dino.c | 2 +- hw/pci-host/gpex-acpi.c | 2 +- hw/pci-host/gt64120.c | 4 ++-- hw/pci-host/pnv_phb.c | 2 +- hw/pci-host/pnv_phb3.c | 2 +- hw/pci-host/pnv_phb3_msi.c | 2 +- hw/pci-host/pnv_phb4.c | 6 +++--- hw/pci/pcie_aer.c | 2 +- hw/pci/shpc.c | 2 +- 13 files changed, 17 insertions(+), 17 deletions(-)
hw/pci-bridge/cxl_downstream.c +1 -1
@@ -44,3 +44,3 @@ static void latch_registers(CXLDownstreamPort *dsp) -/* TODO: Look at sharing this code acorss all CXL port types */ +/* TODO: Look at sharing this code across all CXL port types */ static void cxl_dsp_dvsec_write_config(PCIDevice *dev, uint32_t addr,
hw/pci-bridge/pci_expander_bridge.c +1 -1
@@ -265,3 +265,3 @@ static int pxb_map_irq_fn(PCIDevice *pci_dev, int pin)* First carry out normal swizzle to handle -* multple root ports on a pxb instance. +* multiple root ports on a pxb instance. */
hw/pci-host/bonito.c +1 -1
@@ -64,3 +64,3 @@ -/* from linux soure code. include/asm-mips/mips-boards/bonito64.h*/ +/* from linux source code. include/asm-mips/mips-boards/bonito64.h*/ #define BONITO_BOOT_BASE 0x1fc00000
hw/pci-host/designware.c +2 -2
@@ -490,3 +490,3 @@ static void designware_pcie_root_realize(PCIDevice *dev, Error **errp)* If no inbound iATU windows are configured, HW defaults to -* letting inbound TLPs to pass in. We emulate that by exlicitly +* letting inbound TLPs to pass in. We emulate that by explicitly * configuring first inbound window to cover all of target's
@@ -505,3 +505,3 @@ static void designware_pcie_root_realize(PCIDevice *dev, Error **errp)/* -* We initially place MSI interrupt I/O region a adress 0 and +* We initially place MSI interrupt I/O region a address 0 and * disable it. It'll be later moved to correct offset and enabled
hw/pci-host/dino.c +1 -1
@@ -1,3 +1,3 @@/* -* HP-PARISC Dino PCI chipset emulation, as in B160L and similiar machines +* HP-PARISC Dino PCI chipset emulation, as in B160L and similar machines *
hw/pci-host/gpex-acpi.c +1 -1
@@ -179,3 +179,3 @@ void acpi_dsdt_add_gpex(Aml *scope, struct GPEXConfig *cfg)/* -* Resources defined for PXBs are composed by the folling parts: +* Resources defined for PXBs are composed by the following parts: * 1. The resources the pci-brige/pcie-root-port need.
hw/pci-host/gt64120.c +2 -2
@@ -333,5 +333,5 @@ static void gt64120_update_pci_cfgdata_mapping(GT64120State *s)* Command Register determines how data transactions from the CPU to/from -* PCI are handled along with the setting of the Endianess bit in the CPU +* PCI are handled along with the setting of the Endianness bit in the CPU * Configuration Register. See: -* - Table 16: 32-bit PCI Transaction Endianess +* - Table 16: 32-bit PCI Transaction Endianness * - Table 158: PCI_0 Command, Offset: 0xc00
hw/pci-host/pnv_phb.c +1 -1
@@ -27,3 +27,3 @@* -* This helper does both operations at the same time because seting +* This helper does both operations at the same time because setting * a new QOM child will erase the bus parent of the device. This happens
hw/pci-host/pnv_phb3.c +1 -1
@@ -759,3 +759,3 @@ static void pnv_phb3_translate_tve(PnvPhb3DMASpace *ds, hwaddr addr,* TODO: Venice/Murano support it on bottom window above 4G and -* Naples suports it on everything +* Naples supports it on everything */
hw/pci-host/pnv_phb3_msi.c +1 -1
@@ -283,3 +283,3 @@ static void phb3_msi_instance_init(Object *obj) -/* Will be overriden later */ +/* Will be overridden later */ ics->offset =0 ;
hw/pci-host/pnv_phb4.c +3 -3
@@ -209,3 +209,3 @@ static void pnv_phb4_check_mbt(PnvPHB4 *phb, uint32_t index) -/* TODO: Figure out how to implemet/decode AOMASK */ +/* TODO: Figure out how to implement/decode AOMASK */
@@ -393,3 +393,3 @@ static void pnv_phb4_ioda_write(PnvPHB4 *phb, uint64_t val) -/* Copy accross the valid bit to the other half */ +/* Copy across the valid bit to the other half */ phb->ioda_MBT[idx ^1 ] &=0x7fffffffffffffffull ;
@@ -1410,3 +1410,3 @@ static void pnv_phb4_msi_write(void *opaque, hwaddr addr, -/* TODO: check PE/MSI assignement */ +/* TODO: check PE/MSI assignment */
hw/pci/pcie_aer.c +1 -1
@@ -326,3 +326,3 @@ static void pcie_aer_msg_root_port(PCIDevice *dev, const PCIEAERMsg *msg)* OS which cares of aer would receive errors via -* native aer mechanims, so this wouldn't matter. +* native aer mechanisms, so this wouldn't matter. */
hw/pci/shpc.c +1 -1
@@ -617,3 +617,3 @@ int shpc_init(PCIDevice *d, PCIBus *sec_bus, MemoryRegion *bar, SHPC_IDX_TO_PCI(nslots) > PCI_SLOT_MAX) { -/* TODO: report an error mesage that makes sense. */ +/* TODO: report an error message that makes sense. */ return -EINVAL ;
Signature · 1 line
2.39.2
PATCH 18/29 tree-wide spelling fixes in comments and some messages: hw/tpm
In reply to Michael Tokarev--- hw/tpm/tpm_tis.h | 2 +- hw/tpm/tpm_tis_common.c | 2 +- hw/tpm/tpm_tis_i2c.c | 4 ++-- hw/tpm/tpm_tis_isa.c | 2 +- hw/tpm/tpm_tis_sysbus.c | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-)
hw/tpm/tpm_tis.h +1 -1
@@ -21,3 +21,3 @@* TPM TIS for TPM 2 implementation following TCG PC Client Platform -* TPM Profile (PTP) Specification, Familiy 2.0, Revision 00.43 +* TPM Profile (PTP) Specification, Family 2.0, Revision 00.43 */
hw/tpm/tpm_tis_common.c +1 -1
@@ -22,3 +22,3 @@* TPM TIS for TPM 2 implementation following TCG PC Client Platform -* TPM Profile (PTP) Specification, Familiy 2.0, Revision 00.43 +* TPM Profile (PTP) Specification, Family 2.0, Revision 00.43 */
hw/tpm/tpm_tis_i2c.c +2 -2
@@ -15,3 +15,3 @@* TPM TIS for TPM 2 implementation following TCG PC Client Platform -* TPM Profile (PTP) Specification, Familiy 2.0, Revision 00.43 +* TPM Profile (PTP) Specification, Family 2.0, Revision 00.43 *
@@ -509,3 +509,3 @@ static void tpm_tis_i2c_realizefn(DeviceState *dev, Error **errp)/* -* Get the backend pointer. It is not initialized propery during +* Get the backend pointer. It is not initialized properly during * device_class_set_props
hw/tpm/tpm_tis_isa.c +1 -1
@@ -21,3 +21,3 @@* TPM TIS for TPM 2 implementation following TCG PC Client Platform -* TPM Profile (PTP) Specification, Familiy 2.0, Revision 00.43 +* TPM Profile (PTP) Specification, Family 2.0, Revision 00.43 */
hw/tpm/tpm_tis_sysbus.c +1 -1
@@ -21,3 +21,3 @@* TPM TIS for TPM 2 implementation following TCG PC Client Platform -* TPM Profile (PTP) Specification, Familiy 2.0, Revision 00.43 +* TPM Profile (PTP) Specification, Family 2.0, Revision 00.43 */
Signature · 1 line
2.39.2
PATCH 19/29 tree-wide spelling fixes in comments and some messages: hw/usb hw/ide hw/i2c
In reply to Michael Tokarev--- hw/i2c/pm_smbus.c | 2 +- hw/i2c/pmbus_device.c | 2 +- hw/i2c/smbus_slave.c | 2 +- hw/ide/ahci_internal.h | 4 ++-- hw/ide/cmd646.c | 2 +- hw/ide/core.c | 2 +- hw/usb/ccid-card-emulated.c | 2 +- hw/usb/hcd-ehci.c | 6 +++--- hw/usb/hcd-ohci.c | 2 +- hw/usb/quirks.h | 2 +- hw/usb/redirect.c | 2 +- hw/usb/trace-events | 2 +- hw/usb/xen-usb.c | 2 +- 13 files changed, 16 insertions(+), 16 deletions(-)
hw/i2c/pm_smbus.c +1 -1
@@ -2,3 +2,3 @@* PC SMBus implementation -* splitted from acpi.c +* split from acpi.c *
hw/i2c/pmbus_device.c +1 -1
@@ -1625,3 +1625,3 @@ static int pmbus_write_data(SMBusDevice *smd, uint8_t *buf, uint8_t len) passthrough: -/* Unimplimented registers get passed to the device */ +/* Unimplemented registers get passed to the device */ default :
hw/i2c/smbus_slave.c +1 -1
@@ -4,3 +4,3 @@* This code is a helper for SMBus device emulation. It implements an -* I2C device inteface and runs the SMBus protocol from the device +* I2C device interface and runs the SMBus protocol from the device * point of view and maps those to simple calls to emulate.
hw/ide/ahci_internal.h +2 -2
@@ -63,3 +63,3 @@ enum AHCIHostReg {AHCI_HOST_REG_PORTS_IMPL =3 ,/* PI: bitmap of implemented ports */ -AHCI_HOST_REG_VERSION =4 ,/* VS: AHCI spec. version compliancy */ +AHCI_HOST_REG_VERSION =4 ,/* VS: AHCI spec. version compliance */ AHCI_HOST_REG_CCC_CTL = 5, /* CCC_CTL: CCC Control */
@@ -69,3 +69,3 @@ enum AHCIHostReg {AHCI_HOST_REG_CAP2 =9 ,/* CAP2: host capabilities, extended */ -AHCI_HOST_REG_BOHC =10 ,/* BOHC: firmare/os handoff ctrl & status */ +AHCI_HOST_REG_BOHC =10 ,/* BOHC: firmware/os handoff ctrl & status */ AHCI_HOST_REG__COUNT =11
hw/ide/cmd646.c +1 -1
@@ -259,3 +259,3 @@ static void pci_cmd646_ide_realize(PCIDevice *dev, Error **errp)if (d->secondary) { -/* XXX: if not enabled, really disable the seconday IDE controller */ +/* XXX: if not enabled, really disable the secondary IDE controller */ pci_conf[CNTRL ] |=CNTRL_EN_CH1 ;/* enable IDE1 */
hw/ide/core.c +1 -1
@@ -1700,3 +1700,3 @@ static bool cmd_set_features(IDEState *s, uint8_t cmd)break ; -case 0x02 :/* sigle word dma mode*/ +case 0x02 :/* single word dma mode */ put_le16 (identify_data +62 ,0x07 | (1 << (val +8 )));
hw/usb/ccid-card-emulated.c +1 -1
@@ -520,3 +520,3 @@ static void emulated_realize(CCIDCardState *base, Error **errp) -/* TODO: a passthru backened that works on local machine. third card type?*/ +/* TODO: a passthru backend that works on local machine. third card type?*/ if (card->backend ==BACKEND_CERTIFICATES ) {
hw/usb/hcd-ehci.c +3 -3
@@ -1466,3 +1466,3 @@ static int ehci_process_itd(EHCIState *ehci, }else { -DPRINTF ("ISOCH: attempt to addess non-iso endpoint\n" ); +DPRINTF ("ISOCH: attempt to address non-iso endpoint\n" ); ehci->ipacket.status =USB_RET_NAK ;
@@ -1515,3 +1515,3 @@ static int ehci_process_itd(EHCIState *ehci,/* This state is the entry point for asynchronous schedule -* processing. Entry here consitutes a EHCI start event state (4.8.5) +* processing. Entry here constitutes a EHCI start event state (4.8.5) */
@@ -2460,3 +2460,3 @@ static void usb_ehci_vm_state_change(void *opaque, bool running, RunState state)* to miss a QH unlink, and fail to cancel packets, since the unlinked QH -* will never have existed on the destination. Therefor we must flush the +* will never have existed on the destination. Therefore we must flush the * async schedule on savevm to catch any not yet noticed unlinks.
hw/usb/hcd-ohci.c +1 -1
@@ -1357,3 +1357,3 @@ static uint32_t ohci_get_frame_remaining(OHCIState *ohci) } -/* Being in USB operational state guarnatees sof_time was set already. */ +/* Being in USB operational state guarantees sof_time was set already. */ tks =qemu_clock_get_ns (QEMU_CLOCK_VIRTUAL ) - ohci->sof_time;
hw/usb/quirks.h +1 -1
@@ -69,3 +69,3 @@ static const struct usb_device_id usbredir_raw_serial_ids[] = { { USB_DEVICE(0x10C4, 0x8044) }, /* Cygnal Debug Adapter */ - { USB_DEVICE(0x10C4, 0x804E) }, /* Software Bisque Paramount ME build-in converter */ + { USB_DEVICE(0x10C4, 0x804E) }, /* Software Bisque Paramount ME built-in converter */ { USB_DEVICE(0x10C4, 0x8053) }, /* Enfora EDG1228 */
hw/usb/redirect.c +1 -1
@@ -473,3 +473,3 @@ static int bufp_alloc(USBRedirDevice *dev, uint8_t *data, uint16_t len, } -/* Since we're interupting the stream anyways, drop enough packets to get +/* Since we're interrupting the stream anyways, drop enough packets to get back to our target buffer size */
hw/usb/trace-events +1 -1
@@ -250,3 +250,3 @@ usb_set_device_feature(int addr, int feature, int ret) "dev %d, feature %d, ret usb_hub_reset(int addr) "dev %d" -usb_hub_control(int addr, int request, int value, int index, int length) "dev %d, req 0x%x, value %d, index %d, langth %d" +usb_hub_control(int addr, int request, int value, int index, int length) "dev %d, req 0x%x, value %d, index %d, length %d" usb_hub_get_port_status(int addr, int nr, int status, int changed) "dev %d, port %d, status 0x%x, changed 0x%x"
hw/usb/xen-usb.c +1 -1
@@ -453,3 +453,3 @@ static int usbback_check_and_submit(struct usbback_req *usbback_req)/* -* When the device is first connected or resetted, USB device has no +* When the device is first connected or reset, USB device has no * address. In this initial state, following requests are sent to device
Signature · 1 line
2.39.2
PATCH 20/29 tree-wide spelling fixes in comments and some messages: hw/display
In reply to Michael Tokarev--- hw/display/bochs-display.c | 2 +- hw/display/qxl.c | 2 +- hw/display/ssd0303.c | 2 +- hw/display/ssd0323.c | 2 +- hw/display/xlnx_dp.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-)
hw/display/bochs-display.c +1 -1
@@ -166,3 +166,3 @@ static int bochs_display_get_mode(BochsDisplayState *s,case 16 : -/* best effort: support native endianess only */ +/* best effort: support native endianness only */ mode->format = PIXMAN_r5g6b5;
hw/display/qxl.c +1 -1
@@ -1546,3 +1546,3 @@ static void qxl_create_guest_primary(PCIQXLDevice *qxl, int loadvm, -/* return 1 if surface destoy was initiated (in QXL_ASYNC case) or +/* return 1 if surface destroy was initiated (in QXL_ASYNC case) or * done (in QXL_SYNC case), 0 otherwise. */
hw/display/ssd0303.c +1 -1
@@ -10,3 +10,3 @@/* The controller can support a variety of different displays, but we only -implement one. Most of the commends relating to brightness and geometry +implement one. Most of the commands relating to brightness and geometry setup are ignored. */
hw/display/ssd0323.c +1 -1
@@ -10,3 +10,3 @@/* The controller can support a variety of different displays, but we only -implement one. Most of the commends relating to brightness and geometry +implement one. Most of the commands relating to brightness and geometry setup are ignored. */
hw/display/xlnx_dp.c +1 -1
@@ -382,3 +382,3 @@ static void xlnx_dp_audio_callback(void *opaque, int avail)/* -* Get some data from the DPDMA and compute these datas. +* Get some data from the DPDMA and compute these data. * Then wait for QEMU's audio subsystem to call this callback.
Signature · 1 line
2.39.2
PATCH 21/29 tree-wide spelling fixes in comments and some messages: xen
In reply to Michael Tokarev--- hw/xen/xen_pvdev.c | 2 +- include/hw/xen/interface/arch-x86/xen-x86_64.h | 2 +- include/hw/xen/interface/arch-x86/xen.h | 2 +- include/hw/xen/interface/event_channel.h | 2 +- include/hw/xen/interface/grant_table.h | 2 +- include/hw/xen/interface/hvm/hvm_op.h | 2 +- include/hw/xen/interface/io/blkif.h | 6 +++--- include/hw/xen/interface/io/fbif.h | 2 +- include/hw/xen/interface/io/kbdif.h | 2 +- include/hw/xen/interface/memory.h | 2 +- include/hw/xen/interface/physdev.h | 4 ++-- include/hw/xen/interface/sched.h | 2 +- include/hw/xen/interface/xen.h | 4 ++-- 13 files changed, 17 insertions(+), 17 deletions(-)
hw/xen/xen_pvdev.c +1 -1
@@ -91,3 +91,3 @@ char *xenstore_read_str(const char *base, const char *node)/* move to qemu-allocated memory to make sure -* callers can savely g_free() stuff. */ +* callers can safely g_free() stuff. */ ret =g_strdup (str);
include/hw/xen/interface/arch-x86/xen-x86_64.h +1 -1
@@ -108,3 +108,3 @@* RING3 -> RING3 user mode. -* However RING0 indicates that the guest kernel should return to iteself +* However RING0 indicates that the guest kernel should return to itself * directly with
include/hw/xen/interface/arch-x86/xen.h +1 -1
@@ -141,3 +141,3 @@ typedef unsigned long xen_ulong_t;* privilege levels as follows: -* Level == 0: Noone may enter +* Level == 0: No one may enter * Level == 1: Kernel may enter
include/hw/xen/interface/event_channel.h +1 -1
@@ -321,3 +321,3 @@ typedef struct evtchn_set_priority evtchn_set_priority_t;* ` -* Superceded by new event_channel_op() hypercall since 0x00030202. +* Superseded by new event_channel_op() hypercall since 0x00030202. */
include/hw/xen/interface/grant_table.h +1 -1
@@ -626,3 +626,3 @@ DEFINE_XEN_GUEST_HANDLE(gnttab_cache_flush_t);* 0 => This map request contains a host virtual address. -* 1 => This map request contains the machine addess of the PTE to update. +* 1 => This map request contains the machine address of the PTE to update. */
include/hw/xen/interface/hvm/hvm_op.h +1 -1
@@ -356,3 +356,3 @@ struct xen_hvm_altp2m_op {#define HVMOP_altp2m_get_p2m_idx 14 -/* Set the "Supress #VE" bit for a range of pages */ +/* Set the "Suppress #VE" bit for a range of pages */ #define HVMOP_altp2m_set_suppress_ve_multi 15
include/hw/xen/interface/io/blkif.h +3 -3
@@ -61,3 +61,3 @@* expressed as fixed sized integer types capable of storing the conversion -* of a properly formated node string, without loss of information. +* of a properly formatted node string, without loss of information. *
@@ -260,3 +260,3 @@* NOTE: Because of implementation bugs in some frontends this must be -* set to 512, unless the frontend advertizes a non-zero value +* set to 512, unless the frontend advertises a non-zero value * in its "feature-large-sector-size" xenbus node. (See below).
@@ -417,3 +417,3 @@* grants that can be persistently mapped in the frontend driver, but -* due to the frontent driver implementation it should never be bigger +* due to the frontend driver implementation it should never be bigger * than RING_SIZE * BLKIF_MAX_SEGMENTS_PER_REQUEST.
include/hw/xen/interface/io/fbif.h +1 -1
@@ -91,3 +91,3 @@ union xenfb_out_event* those have been requested), then use the update frequency to guide -* their periodical refreshs. +* their periodical refreshes. */
include/hw/xen/interface/io/kbdif.h +1 -1
@@ -41,3 +41,3 @@* expressed as fixed sized integer types capable of storing the conversion -* of a properly formated node string, without loss of information. +* of a properly formatted node string, without loss of information. *
include/hw/xen/interface/memory.h +1 -1
@@ -186,3 +186,3 @@ struct xen_machphys_mfn_list {* Pointer to buffer to fill with list of extent starts. If there are -* any large discontiguities in the machine address space, 2MB gaps in +* any large discontinuities in the machine address space, 2MB gaps in * the machphys table will be represented by an MFN base of zero.
include/hw/xen/interface/physdev.h +2 -2
@@ -225,3 +225,3 @@ DEFINE_XEN_GUEST_HANDLE(physdev_manage_pci_ext_t);/* -* Argument to physdev_op_compat() hypercall. Superceded by new physdev_op() +* Argument to physdev_op_compat() hypercall. Superseded by new physdev_op() * hypercall since 0x00030202.
@@ -351,3 +351,3 @@ DEFINE_XEN_GUEST_HANDLE(physdev_dbgp_op_t);/* -* These all-capitals physdev operation names are superceded by the new names +* These all-capitals physdev operation names are superseded by the new names * (defined above) since interface version 0x00030202. The guard above was
include/hw/xen/interface/sched.h +1 -1
@@ -68,3 +68,3 @@* If called with event upcalls masked, this operation will atomically -* reenable event delivery and check for pending events before blocking the +* re-enable event delivery and check for pending events before blocking the * VCPU. This avoids a "wakeup waiting" race.
include/hw/xen/interface/xen.h +2 -2
@@ -608,3 +608,3 @@ DEFINE_XEN_GUEST_HANDLE(mmuext_op_t);/* -* DOMID_COW is used as the owner of sharable pages */ +* DOMID_COW is used as the owner of shareable pages */ #define DOMID_COW xen_mk_uint(0x7FF3)
@@ -752,3 +752,3 @@ struct shared_info {* arrange out-of-band to set up a connection (usually by allocating -* an unbound 'listener' port and avertising that via a storage service +* an unbound 'listener' port and advertising that via a storage service * such as xenstore).
Signature · 1 line
2.39.2
PATCH 22/29 tree-wide spelling fixes in comments and some messages: audio
In reply to Michael Tokarev--- audio/mixeng.h | 2 +- hw/audio/fmopl.c | 8 ++++---- hw/audio/fmopl.h | 2 +- hw/audio/gusemu_hal.c | 4 ++-- hw/audio/intel-hda-defs.h | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-)
audio/mixeng.h +1 -1
@@ -40,3 +40,3 @@ typedef void (f_sample) (void *dst, const struct st_sample *src, int samples); -/* indices: [stereo][signed][swap endiannes][8, 16 or 32-bits] */ +/* indices: [stereo][signed][swap endianness][8, 16 or 32-bits] */ extern t_sample *mixeng_conv[2 ][2 ][2 ][3 ];
hw/audio/fmopl.c +4 -4
@@ -357,3 +357,3 @@ static void set_algorithm( OPL_CH *CH) -/* ---------- frequency counter for operater update ---------- */ +/* ---------- frequency counter for operator update ---------- */ static inline void CALC_FCSLOT (OPL_CH *CH ,OPL_SLOT *SLOT )
@@ -642,3 +642,3 @@ static int OPLOpenTable( void ) -/* make sinwave table (total level offet) */ +/* make sinwave table (total level offset) */ /* degree 0 = degree 180 = off */
@@ -1077,3 +1077,3 @@ FM_OPL *OPLCreate(int clock, int rate)int state_size; -int max_ch =9 ;/* normaly 9 channels */ +int max_ch =9 ;/* normally 9 channels */
@@ -1094,3 +1094,3 @@ FM_OPL *OPLCreate(int clock, int rate)OPL ->max_ch = max_ch; -/* init grobal tables */ +/* init global tables */ OPL_initialize (OPL );
hw/audio/fmopl.h +1 -1
@@ -71,3 +71,3 @@ typedef struct fm_opl_f {int max_ch;/* maximum channel */ -/* Rhythm sention */ +/* Rhythm section */ uint8_t rhythm;/* Rhythm mode , key flag */
hw/audio/gusemu_hal.c +2 -2
@@ -156,3 +156,3 @@ unsigned int gus_read(GUSEmuState * state, int port, int size)int offset =2 * (GUSregb (FunkSelReg3x3) &0x0f ); - offset += ((int )GUSregb (VoiceSelReg3x2) &0x1f ) <<5 ;/* = Voice*32 + Funktion*2 */ + offset += ((int )GUSregb (VoiceSelReg3x2) &0x1f ) <<5 ;/* = Voice*32 + Function*2 */ value_read =GUSregw (offset);
@@ -355,3 +355,3 @@ void gus_write(GUSEmuState * state, int port, int size, unsigned int data) offset =2 * (GUSregb (FunkSelReg3x3) &0x0f ); - offset += (GUSregb (VoiceSelReg3x2) &0x1f ) <<5 ;/* = Voice*32 + Funktion*2 */ + offset += (GUSregb (VoiceSelReg3x2) &0x1f ) <<5 ;/* = Voice*32 + Function*2 */ GUSregw (offset) = (uint16_t ) ((GUSregw (offset) & readmask) | writedata);
hw/audio/intel-hda-defs.h +2 -2
@@ -420,3 +420,3 @@ enum { -/* Pin widget capabilies */ +/* Pin widget capabilities */ #define AC_PINCAP_IMP_SENSE (1<<0)/* impedance sense capable */
@@ -485,3 +485,3 @@ enum { -/* Processing capabilies */ +/* Processing capabilities */ #define AC_PCAP_BENIGN (1<<0)
Signature · 1 line
2.39.2
PATCH 23/29 tree-wide spelling fixes in comments and some messages: hw/
In reply to Michael Tokarev--- hw/acpi/aml-build.c | 6 +++--- hw/acpi/hmat.c | 2 +- hw/acpi/nvdimm.c | 2 +- hw/block/hd-geometry.c | 4 ++-- hw/block/pflash_cfi01.c | 2 +- hw/char/cadence_uart.c | 2 +- hw/char/imx_serial.c | 2 +- hw/char/serial.c | 2 +- hw/core/generic-loader.c | 4 ++-- hw/core/loader.c | 4 ++-- hw/core/machine.c | 2 +- hw/core/qdev-properties-system.c | 2 +- hw/cpu/a15mpcore.c | 2 +- hw/cxl/cxl-events.c | 2 +- hw/cxl/cxl-mailbox-utils.c | 4 ++-- hw/dma/omap_dma.c | 4 ++-- hw/input/hid.c | 2 +- hw/input/tsc2005.c | 16 ++++++++-------- hw/intc/loongarch_extioi.c | 2 +- hw/intc/loongson_liointc.c | 2 +- hw/intc/omap_intc.c | 2 +- hw/intc/pnv_xive.c | 2 +- hw/intc/spapr_xive.c | 2 +- hw/intc/spapr_xive_kvm.c | 6 +++--- hw/intc/xive.c | 2 +- hw/intc/xive2.c | 6 +++--- hw/ipmi/ipmi_bmc_extern.c | 2 +- hw/mem/cxl_type3.c | 6 +++--- hw/misc/imx7_ccm.c | 2 +- hw/misc/mac_via.c | 2 +- hw/misc/stm32f2xx_syscfg.c | 4 ++-- hw/misc/trace-events | 2 +- hw/misc/zynq_slcr.c | 2 +- hw/nvme/ctrl.c | 6 +++--- hw/nvram/eeprom_at24c.c | 2 +- hw/nvram/fw_cfg.c | 2 +- hw/rtc/exynos4210_rtc.c | 2 +- hw/rx/rx62n.c | 2 +- hw/scsi/lsi53c895a.c | 2 +- hw/scsi/mfi.h | 2 +- hw/sd/sd.c | 2 +- hw/sd/sdhci.c | 2 +- hw/sensor/isl_pmbus_vr.c | 2 +- hw/sensor/max34451.c | 2 +- hw/sh4/sh7750_regs.h | 26 +++++++++++++------------- hw/smbios/smbios.c | 2 +- hw/ssi/xilinx_spips.c | 6 +++--- hw/ssi/xlnx-versal-ospi.c | 2 +- hw/timer/etraxfs_timer.c | 2 +- hw/timer/i8254.c | 2 +- hw/timer/renesas_tmr.c | 2 +- hw/virtio/virtio-crypto.c | 4 ++-- hw/virtio/virtio-mem.c | 2 +- hw/virtio/virtio.c | 2 +- 54 files changed, 92 insertions(+), 92 deletions(-)
hw/acpi/aml-build.c +3 -3
@@ -314,3 +314,3 @@ build_prepend_package_length(GArray *package, unsigned length, bool incl_self)* and PkgLength's length itself when used for terms with -* explitit length. +* explicit length. */
@@ -682,3 +682,3 @@ Aml *aml_store(Aml *val, Aml *target)* -* Returns: The newly allocated and composed according to patter Aml object. +* Returns: The newly allocated and composed according to pattern Aml object. */
@@ -2161,3 +2161,3 @@ void build_fadt(GArray *tbl, BIOSLinker *linker, const AcpiFadtData *f, }else { -build_append_int_noprefix (tbl,0 ,3 );/* Reserved upto ACPI 5.0 */ +build_append_int_noprefix (tbl,0 ,3 );/* Reserved up to ACPI 5.0 */ }
hw/acpi/hmat.c +1 -1
@@ -84,3 +84,3 @@ static void build_hmat_lb(GArray *table_data, HMAT_LB_Info *hmat_lb,uint32_t lb_length - =32 /* Table length upto and including Entry Base Unit */ + =32 /* Table length up to and including Entry Base Unit */ +4 * num_initiator/* Initiator Proximity Domain List */
hw/acpi/nvdimm.c +1 -1
@@ -1099,3 +1099,3 @@ static void nvdimm_build_common_dsm(Aml *dev,* size is 32 bits, otherwise it is 64 bits. -* Because of this CreateField() canot be used if RLEN < Integer Size. +* Because of this CreateField() cannot be used if RLEN < Integer Size. *
hw/block/hd-geometry.c +2 -2
@@ -52,3 +52,3 @@ struct partition { -/* try to guess the disk logical geometry from the MSDOS partition table. +/* try to guess the disk logical geometry from the MS-DOS partition table. Return 0 if OK, -1 if could not guess */
@@ -68,3 +68,3 @@ static int guess_disk_lchs(BlockBackend *blk, } -/* test msdos magic */ +/* test MS-DOS magic */ if (buf[510 ] !=0x55 || buf[511 ] !=0xaa ) {
hw/block/pflash_cfi01.c +1 -1
@@ -893,3 +893,3 @@ static Property pflash_cfi01_properties[] = {* If we're emulating flash devices wired in parallel the actual -* number of blocks per indvidual device will differ. +* number of blocks per individual device will differ. */
hw/char/cadence_uart.c +1 -1
@@ -577,3 +577,3 @@ static int cadence_uart_pre_load(void *opaque) -/* the frequency will be overriden if the refclk field is present */ +/* the frequency will be overridden if the refclk field is present */ clock_set_hz (s->refclk,UART_DEFAULT_REF_CLK );
hw/char/imx_serial.c +1 -1
@@ -114,3 +114,3 @@ static void imx_serial_reset_at_boot(DeviceState *dev)/* -* enable the uart on boot, so messages from the linux decompresser +* enable the uart on boot, so messages from the linux decompressor * are visible. On real hardware this is done by the boot rom
hw/char/serial.c +1 -1
@@ -56,3 +56,3 @@ -#define UART_IIR_FENF 0x80/* Fifo enabled, but not functionning */ +#define UART_IIR_FENF 0x80/* Fifo enabled, but not functioning */ #define UART_IIR_FE 0xC0/* Fifo enabled */
hw/core/generic-loader.c +2 -2
@@ -26,3 +26,3 @@* This device allows the user to monkey patch memory. To be able to do -* this it needs a backend to manage the datas, the same as other +* this it needs a backend to manage the data, the same as other * memory-related devices. In this case as the backend is so trivial we
@@ -168,3 +168,3 @@ static void generic_loader_realize(DeviceState *dev, Error **errp) -/* Convert the data endiannes */ +/* Convert the data endianness */ if (s->data_be) {
hw/core/loader.c +2 -2
@@ -865,3 +865,3 @@ ssize_t load_image_gzipped(const char *filename, hwaddr addr, uint64_t max_sz)* The Linux header magic number for a EFI PE/COFF -* image targetting an unspecified architecture. +* image targeting an unspecified architecture. */
@@ -1494,3 +1494,3 @@ RomGap rom_find_largest_gap_between(hwaddr base, size_t size) } -/* ignore anything finishing bellow base */ +/* ignore anything finishing below base */ if (rom->addr + rom->romsize <= base) {
hw/core/machine.c +1 -1
@@ -1416,3 +1416,3 @@ void machine_run_board_init(MachineState *machine, const char *mem_path, Error * machine_class->valid_cpu_types[i])) { -/* The user specificed CPU is in the valid field, we are +/* The user specified CPU is in the valid field, we are * good to go.
hw/core/qdev-properties-system.c +1 -1
@@ -109,3 +109,3 @@ static void set_drive_helper(Object *obj, Visitor *v, const char *name,if (*ptr) { -/* BlockBackend alread exists. So, we want to change attached node */ +/* BlockBackend already exists. So, we want to change attached node */ blk = *ptr;
hw/cpu/a15mpcore.c +1 -1
@@ -163,3 +163,3 @@ static void a15mp_priv_class_init(ObjectClass *klass, void *data)device_class_set_props (dc, a15mp_priv_properties); -/* We currently have no savable state */ +/* We currently have no saveable state */ }
hw/cxl/cxl-events.c +1 -1
@@ -199,3 +199,3 @@ CXLRetCode cxl_event_clear_records(CXLDeviceState *cxlds, CXLClearEventPayload */* -* Must itterate the queue twice. +* Must iterate the queue twice. * "The device shall verify the event record handles specified in the input
hw/cxl/cxl-mailbox-utils.c +2 -2
@@ -41,3 +41,3 @@* -* XXX: The handler need not worry about endianess. The payload is read out of +* XXX: The handler need not worry about endianness. The payload is read out of * a register interface that already deals with it.
@@ -503,3 +503,3 @@ static CXLRetCode cmd_media_get_poison_list(struct cxl_cmd *cmd, query_start =ldq_le_p (&in->pa); -/* 64 byte alignemnt required */ +/* 64 byte alignment required */ if (query_start &0x3f ) {
hw/dma/omap_dma.c +2 -2
@@ -249,3 +249,3 @@ static void omap_dma_deactivate_channel(struct omap_dma_s *s, -/* Don't deactive the channel if it is synchronized and the DMA request is +/* Don't deactivate the channel if it is synchronized and the DMA request is active */
@@ -424,3 +424,3 @@ static void omap_dma_transfer_generic(struct soc_dma_ch_s *dma) a->pck_element ++; -/* Check if a full packet has beed transferred. */ +/* Check if a full packet has been transferred. */ if (a->pck_element == a->pck_elements) {
hw/input/hid.c +1 -1
@@ -211,3 +211,3 @@ static void hid_pointer_sync(DeviceState *dev) }else { -/* prepate next (clear rel, copy abs + btns) */ +/* prepare next (clear rel, copy abs + btns) */ if (hs->kind ==HID_MOUSE ) {
hw/input/tsc2005.c +8 -8
@@ -159,10 +159,10 @@ static uint16_t tsc2005_read(TSC2005State *s, int reg) -case 0x8 :/* AUX high treshold */ +case 0x8 :/* AUX high threshold */ return s->aux_thr[1 ]; -case 0x9 :/* AUX low treshold */ +case 0x9 :/* AUX low threshold */ return s->aux_thr[0 ]; -case 0xa :/* TEMP high treshold */ +case 0xa :/* TEMP high threshold */ return s->temp_thr[1 ]; -case 0xb :/* TEMP low treshold */ +case 0xb :/* TEMP low threshold */ return s->temp_thr[0 ];
@@ -188,6 +188,6 @@ static void tsc2005_write(TSC2005State *s, int reg, uint16_t data)switch (reg) { -case 0x8 :/* AUX high treshold */ +case 0x8 :/* AUX high threshold */ s->aux_thr[1 ] = data;break ; -case 0x9 :/* AUX low treshold */ +case 0x9 :/* AUX low threshold */ s->aux_thr[0 ] = data;
@@ -195,6 +195,6 @@ static void tsc2005_write(TSC2005State *s, int reg, uint16_t data) -case 0xa :/* TEMP high treshold */ +case 0xa :/* TEMP high threshold */ s->temp_thr[1 ] = data;break ; -case 0xb :/* TEMP low treshold */ +case 0xb :/* TEMP low threshold */ s->temp_thr[0 ] = data;
hw/intc/loongarch_extioi.c +1 -1
@@ -193,3 +193,3 @@ static MemTxResult extioi_writew(void *opaque, hwaddr addr, s->coreisr[cpu][index] = old_data & ~val; -/* write 1 to clear interrrupt */ +/* write 1 to clear interrupt */ old_data &= val;
hw/intc/loongson_liointc.c +1 -1
@@ -1,3 +1,3 @@/* -* QEMU Loongson Local I/O interrupt controler. +* QEMU Loongson Local I/O interrupt controller. *
hw/intc/omap_intc.c +1 -1
@@ -70,3 +70,3 @@ static void omap_inth_sir_update(OMAPIntcState *s, int is_fiq)/* Find the interrupt line with the highest dynamic priority. -* Note: 0 denotes the hightest priority. +* Note: 0 denotes the highest priority. * If all interrupts have the same priority, the default order is IRQ_N,
hw/intc/pnv_xive.c +1 -1
@@ -945,3 +945,3 @@ static void pnv_xive_ic_reg_write(void *opaque, hwaddr offset,/* -* Configure store EOI if required by firwmare (skiboot has removed +* Configure store EOI if required by firmware (skiboot has removed * support recently though)
hw/intc/spapr_xive.c +1 -1
@@ -29,3 +29,3 @@/* -* XIVE Virtualization Controller BAR and Thread Managment BAR that we +* XIVE Virtualization Controller BAR and Thread Management BAR that we * use for the ESB pages and the TIMA pages
hw/intc/spapr_xive_kvm.c +3 -3
@@ -487,3 +487,3 @@ static int kvmppc_xive_get_queues(SpaprXive *xive, Error **errp)* PQs to PENDING to stop the flow of events and to possibly catch a -* triggered interrupt occuring while the VM is stopped. The previous +* triggered interrupt occurring while the VM is stopped. The previous * state is saved in anticipation of a migration. The XIVE controller
@@ -553,3 +553,3 @@ static void kvmppc_xive_change_state_handler(void *opaque, bool running,* PQ is set to PENDING to possibly catch a triggered -* interrupt occuring while the VM is stopped (hotplug event +* interrupt occurring while the VM is stopped (hotplug event * for instance) .
@@ -635,3 +635,3 @@ int kvmppc_xive_post_load(SpaprXive *xive, int version_id) -/* Restore the ENDT first. The targetting depends on it. */ +/* Restore the ENDT first. The targeting depends on it. */ for (i =0 ; i < xive->nr_ends; i++) {
hw/intc/xive.c +1 -1
@@ -1603,3 +1603,3 @@ int xive_presenter_tctx_match(XivePresenter *xptr, XiveTCTX *tctx,* matching NVT (or more) dispatched on the processor threads. In case -* of a single NVT notification, the process is abreviated and the +* of a single NVT notification, the process is abbreviated and the * thread is signaled if a match is found. In case of a logical server
hw/intc/xive2.c +3 -3
@@ -544,3 +544,3 @@ static void xive2_router_realize(DeviceState *dev, Error **errp)* Notification using the END ESe/ESn bit (Event State Buffer for -* escalation and notification). Profide futher coalescing in the +* escalation and notification). Profide further coalescing in the * Router.
@@ -623,3 +623,3 @@ static void xive2_router_end_notify(Xive2Router *xrtr, uint8_t end_blk,* Check the END ESn (Event State Buffer for notification) for -* even futher coalescing in the Router +* even further coalescing in the Router */
@@ -704,3 +704,3 @@ do_escalation:* Check the END ESe (Event State Buffer for escalation) for even -* futher coalescing in the Router +* further coalescing in the Router */
hw/ipmi/ipmi_bmc_extern.c +1 -1
@@ -303,3 +303,3 @@ static void handle_msg(IPMIBmcExtern *ibe) }else { - ibe->inpos--;/* Remove checkum */ + ibe->inpos--;/* Remove checksum */ }
hw/mem/cxl_type3.c +3 -3
@@ -540,3 +540,3 @@ static void ct3d_reg_write(void *opaque, hwaddr offset, uint64_t value,/* -* If no more errors, then follow recomendation of PCI spec +* If no more errors, then follow recommendation of PCI spec * r6.0 6.2.4.2 to set the first error pointer to a status
@@ -699,3 +699,3 @@ static void ct3_realize(PCIDevice *pci_dev, Error **errp) -/* MSI(-X) Initailization */ +/* MSI(-X) Initialization */ rc =msix_init_exclusive_bar (pci_dev, msix_num,4 ,NULL );
@@ -708,3 +708,3 @@ static void ct3_realize(PCIDevice *pci_dev, Error **errp) -/* DOE Initailization */ +/* DOE Initialization */ pcie_doe_init (pci_dev, &ct3d->doe_cdat,0x190 , doe_cdat_prot, true,0 );
hw/misc/imx7_ccm.c +1 -1
@@ -229,3 +229,3 @@ static uint32_t imx7_ccm_get_clock_frequency(IMXCCMState *dev, IMXClk clock)* timer can have its own clock root. -* This means we need additionnal information when calling this +* This means we need additional information when calling this * function to know the requester's identity.
hw/misc/mac_via.c +1 -1
@@ -248,3 +248,3 @@#define vSR 0x1400/* [VIA only] Shift register. */ -#define vACR 0x1600/* [VIA only] Auxilary control register. */ +#define vACR 0x1600/* [VIA only] Auxiliary control register. */ #define vPCR 0x1800/* [VIA only] Peripheral control register. */
hw/misc/stm32f2xx_syscfg.c +2 -2
@@ -96,3 +96,3 @@ static void stm32f2xx_syscfg_write(void *opaque, hwaddr addr,qemu_log_mask (LOG_UNIMP , -"%s: Changeing the memory mapping isn't supported " \ +"%s: Changing the memory mapping isn't supported " \"in QEMU\n" , __func__);
@@ -101,3 +101,3 @@ static void stm32f2xx_syscfg_write(void *opaque, hwaddr addr,qemu_log_mask (LOG_UNIMP , -"%s: Changeing the memory mapping isn't supported " \ +"%s: Changing the memory mapping isn't supported " \"in QEMU\n" , __func__);
hw/misc/trace-events +1 -1
@@ -157,3 +157,3 @@ stm32f4xx_syscfg_write(uint64_t addr, uint64_t data) "reg write: addr: 0x%" PRIx # stm32f4xx_exti.c -stm32f4xx_exti_set_irq(int irq, int leve) "Set EXTI: %d to %d" +stm32f4xx_exti_set_irq(int irq, int level) "Set EXTI: %d to %d" stm32f4xx_exti_read(uint64_t addr) "reg read: addr: 0x%" PRIx64 " "
hw/misc/zynq_slcr.c +1 -1
@@ -287,3 +287,3 @@ static void zynq_slcr_compute_clocks_internal(ZynqSLCRState *s, uint64_t ps_clk)/** -* Compute and set the ouputs clocks periods. +* Compute and set the outputs clocks periods. * But do not propagate them further. Connected clocks
hw/nvme/ctrl.c +3 -3
@@ -19,3 +19,3 @@* While QEMU coding style prefers lowercase hexadecimals in constants, the -* NVMe subsystem use thes format from the NVMe specifications in the comments +* NVMe subsystem use this format from the NVMe specifications in the comments * (i.e. 'h' suffix instead of '0x' prefix).
@@ -732,3 +732,3 @@ static inline void nvme_sg_unmap(NvmeSg *sg)/* -* When metadata is transfered as extended LBAs, the DPTR mapped into `sg` +* When metadata is transferred as extended LBAs, the DPTR mapped into `sg` * holds both data and metadata. This function splits the data and metadata
@@ -7615,3 +7615,3 @@ static void nvme_process_db(NvmeCtrl *n, hwaddr addr, int val)* an invalid value to the Submission Queue Tail Doorbell or -* Completion Queue Head Doorbell regiter and an Asynchronous Event +* Completion Queue Head Doorbell register and an Asynchronous Event * Request command is outstanding, then an asynchronous event is
hw/nvram/eeprom_at24c.c +1 -1
@@ -53,3 +53,3 @@ struct EEPROMState {bool changed; -/* during WRITE, # of address bytes transfered */ +/* during WRITE, # of address bytes transferred */ uint8_t haveaddr;
hw/nvram/fw_cfg.c +1 -1
@@ -879,3 +879,3 @@ static struct {* as we use aligned size in ram_load_precopy() -> qemu_ram_resize() path. -* In order to avoid the inconsistency in sizes save them seperately and +* In order to avoid the inconsistency in sizes save them separately and * migrate over in vmstate post_load().
hw/rtc/exynos4210_rtc.c +1 -1
@@ -204,3 +204,3 @@ static void exynos4210_rtc_update_freq(Exynos4210RTCState *s, freq = s->freq; -/* set frequncy for time generator */ +/* set frequency for time generator */ s->freq =RTC_BASE_FREQ / (1 <<TICCKSEL (reg_value));
hw/rx/rx62n.c +1 -1
@@ -116,3 +116,3 @@ static const uint8_t ipr_table[NR_IRQS] = {/* -* Level triggerd IRQ list +* Level triggered IRQ list * Not listed IRQ is Edge trigger.
hw/scsi/lsi53c895a.c +1 -1
@@ -1323,3 +1323,3 @@ again: insn & (1 << 3) ? " ATN" : ""); -/* ??? Linux drivers compain when this is set. Maybe +/* ??? Linux drivers complain when this is set. Maybe it only applies in low-level mode (unimplemented).
hw/scsi/mfi.h +1 -1
@@ -67,3 +67,3 @@#define MFI_SEQ 0xfc/* Sequencer offset */ -#define MFI_1078_EIM 0x80000004/* 1078 enable intrrupt mask */ +#define MFI_1078_EIM 0x80000004/* 1078 enable interrupt mask */ #define MFI_RMI 0x2/* reply message interrupt */
hw/sd/sd.c +1 -1
@@ -1226,3 +1226,3 @@ static sd_rsp_type_t sd_normal_command(SDState *sd, SDRequest req) -/* Block read commands (Classs 2) */ +/* Block read commands (Class 2) */ case 16 :/* CMD16: SET_BLOCKLEN */
hw/sd/sdhci.c +1 -1
@@ -1807,3 +1807,3 @@ usdhc_write(void *opaque, hwaddr offset, uint64_t val, unsigned size)* We don't want to call sdhci_write(.., SDHC_TRNMOD, ...) -* here becuase it will result in a call to +* here because it will result in a call to * sdhci_send_command(s) which we don't want.
hw/sensor/isl_pmbus_vr.c +1 -1
@@ -103,3 +103,3 @@ static void isl_pmbus_vr_exit_reset(Object *obj) -/* The raa228000 uses different direct mode coefficents from most isl devices */ +/* The raa228000 uses different direct mode coefficients from most isl devices */ static void raa228000_exit_reset (Object *obj)
hw/sensor/max34451.c +1 -1
@@ -736,3 +736,3 @@ static void max34451_init(Object *obj)* get and set the temperature of the internal temperature sensor in -* centidegrees Celcius i.e.: 2500 -> 25.00 C, max is 327.67 C +* centidegrees Celsius i.e.: 2500 -> 25.00 C, max is 327.67 C */
hw/sh4/sh7750_regs.h +13 -13
@@ -115,3 +115,3 @@ -/* TLB exeption address register - TEA */ +/* TLB exception address register - TEA */ #define SH7750_TEA_REGOFS 0x00000c/* offset */
@@ -185,3 +185,3 @@ -/* Exeption event register - EXPEVT */ +/* Exception event register - EXPEVT */ #define SH7750_EXPEVT_REGOFS 0x000024
@@ -190,3 +190,3 @@ -#define SH7750_EXPEVT_EX 0x00000fff/* Exeption code */ +#define SH7750_EXPEVT_EX 0x00000fff/* Exception code */ #define SH7750_EXPEVT_EX_S 0
@@ -197,3 +197,3 @@#define SH7750_INTEVT_A7 SH7750_A7_REG32(SH7750_INTEVT_REGOFS) -#define SH7750_INTEVT_EX 0x00000fff/* Exeption code */ +#define SH7750_INTEVT_EX 0x00000fff/* Exception code */ #define SH7750_INTEVT_EX_S 0
@@ -1276,11 +1276,11 @@*/ -#define SH7750_BARA 0x200000/* Break address regiser A */ -#define SH7750_BAMRA 0x200004/* Break address mask regiser A */ -#define SH7750_BBRA 0x200008/* Break bus cycle regiser A */ -#define SH7750_BARB 0x20000c/* Break address regiser B */ -#define SH7750_BAMRB 0x200010/* Break address mask regiser B */ -#define SH7750_BBRB 0x200014/* Break bus cycle regiser B */ -#define SH7750_BASRB 0x000018/* Break ASID regiser B */ -#define SH7750_BDRB 0x200018/* Break data regiser B */ -#define SH7750_BDMRB 0x20001c/* Break data mask regiser B */ +#define SH7750_BARA 0x200000/* Break address register A */ +#define SH7750_BAMRA 0x200004/* Break address mask register A */ +#define SH7750_BBRA 0x200008/* Break bus cycle register A */ +#define SH7750_BARB 0x20000c/* Break address register B */ +#define SH7750_BAMRB 0x200010/* Break address mask register B */ +#define SH7750_BBRB 0x200014/* Break bus cycle register B */ +#define SH7750_BASRB 0x000018/* Break ASID register B */ +#define SH7750_BDRB 0x200018/* Break data register B */ +#define SH7750_BDMRB 0x20001c/* Break data mask register B */ #define SH7750_BRCR 0x200020/* Break control register */
hw/smbios/smbios.c +1 -1
@@ -1112,3 +1112,3 @@ void smbios_get_tables(MachineState *ms,/* -* The offset determines if we need to keep additional space betweeen +* The offset determines if we need to keep additional space between * table 17 and table 19 header handle numbers so that they do
hw/ssi/xilinx_spips.c +3 -3
@@ -165,3 +165,3 @@FIELD (GQSPI_CNFG ,EN_POLL_TIMEOUT ,20 ,1 ) - /* QEMU doesnt care about any of these last three */ + /* QEMU doesn't care about any of these last three */FIELD (GQSPI_CNFG ,BR ,3 ,3 )
@@ -471,3 +471,3 @@ static void xlnx_zynqmp_qspips_flush_fifo_g(XlnxZynqMPQSPIPS *s)if (!ARRAY_FIELD_EX32 (s->regs,GQSPI_GF_SNAPSHOT ,DATA_XFER )) { -/* immedate transfer */ +/* immediate transfer */ if (ARRAY_FIELD_EX32(s->regs, GQSPI_GF_SNAPSHOT, TRANSMIT) ||
@@ -770,3 +770,3 @@ static void xilinx_spips_check_zero_pump(XilinxSPIPS *s) s->rx_fifo.num + s->tx_fifo.num < RXFF_A_Q - 3) { -/* endianess just doesn't matter when zero pumping */ +/* endianness just doesn't matter when zero pumping */ tx_data_bytes (&s->tx_fifo,0 ,4 , false);
hw/ssi/xlnx-versal-ospi.c +1 -1
@@ -839,3 +839,3 @@ static void ospi_do_ind_read(XlnxVersalOspi *s) !fifo8_is_full(&s->rx_sram)) { -/* Read reqested number of bytes, max bytes limited to size of sram */ +/* Read requested number of bytes, max bytes limited to size of sram */ next_b =ind_op_next_byte (op);
hw/timer/etraxfs_timer.c +1 -1
@@ -238,3 +238,3 @@ static void watchdog_hit(void *opaque)if (t->wd_hits ==0 ) { -/* real hw gives a single tick before reseting but we are +/* real hw gives a single tick before resetting but we are a bit friendlier to compensate for our slower execution. */
hw/timer/i8254.c +1 -1
@@ -297,3 +297,3 @@ static void pit_reset(DeviceState *dev)/* When HPET is operating in legacy mode, suppress the ignored timer IRQ, -* reenable it when legacy mode is left again. */ +* re-enable it when legacy mode is left again. */ static void pit_irq_control (void *opaque,int n,int enable)
hw/timer/renesas_tmr.c +1 -1
@@ -117,3 +117,3 @@ static int elapsed_time(RTMRState *tmr, int ch, int64_t delta) }else { -/* disble clock. so no update */ +/* disable clock. so no update */ et =0 ;
hw/virtio/virtio-crypto.c +2 -2
@@ -652,3 +652,3 @@ virtio_crypto_sym_op_helper(VirtIODevice *vdev, op_info->len_to_cipher = len_to_cipher; -/* Handle the initilization vector */ +/* Handle the initialization vector */ if (op_info->iv_len >0 ) {
@@ -1275,3 +1275,3 @@ static void virtio_crypto_instance_init(Object *obj)* The default config_size is sizeof(struct virtio_crypto_config). -* Can be overriden with virtio_crypto_set_config_size. +* Can be overridden with virtio_crypto_set_config_size. */
hw/virtio/virtio-mem.c +1 -1
@@ -1121,3 +1121,3 @@ static int virtio_mem_mig_sanity_checks_post_load(void *opaque, int version_id)/* -* Note: Preparation for resizeable memory regions. The maximum size +* Note: Preparation for resizable memory regions. The maximum size * of the memory region must not change during migration.
hw/virtio/virtio.c +1 -1
@@ -2098,3 +2098,3 @@ void virtio_queue_enable(VirtIODevice *vdev, uint32_t queue_index)if (!virtio_vdev_has_feature (vdev,VIRTIO_F_VERSION_1 )) { -error_report ("queue_enable is only suppported in devices of virtio " +error_report ("queue_enable is only supported in devices of virtio " "1.0 or later." );
Signature · 1 line
2.39.2
PATCH 24/29 tree-wide spelling fixes in comments and some messages: migration/
In reply to Michael Tokarev--- migration/migration-stats.c | 2 +- migration/migration.h | 4 ++-- migration/multifd-zlib.c | 2 +- migration/multifd-zstd.c | 2 +- migration/multifd.c | 2 +- migration/savevm.c | 2 +- migration/trace-events | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-)
migration/migration-stats.c +1 -1
@@ -50,3 +50,3 @@ void migration_rate_set(uint64_t limit)/* -* 'limit' is per second. But we check it each BUFER_DELAY miliseconds. +* 'limit' is per second. But we check it each BUFER_DELAY milliseconds. */
migration/migration.h +2 -2
@@ -136,3 +136,3 @@ struct MigrationIncomingState {* postcopy preempt thread. "volatile" makes sure all reads will be -* uptodate across cores. +* up-to-date across cores. */
@@ -411,3 +411,3 @@ struct MigrationState {* - postcopy preempt channel will be created at the switching phase -* from precopy -> postcopy (to avoid race condtion of misordered +* from precopy -> postcopy (to avoid race condition of misordered * creation of channels).
migration/multifd-zlib.c +1 -1
@@ -59,3 +59,3 @@ static int zlib_send_setup(MultiFDSendParams *p, Error **errp) } -/* This is the maxium size of the compressed buffer */ +/* This is the maximum size of the compressed buffer */ z->zbuff_len =compressBound (MULTIFD_PACKET_SIZE );
migration/multifd-zstd.c +1 -1
@@ -70,3 +70,3 @@ static int zstd_send_setup(MultiFDSendParams *p, Error **errp) } -/* This is the maxium size of the compressed buffer */ +/* This is the maximum size of the compressed buffer */ z->zbuff_len =ZSTD_compressBound (MULTIFD_PACKET_SIZE );
migration/multifd.c +1 -1
@@ -880,3 +880,3 @@ static void multifd_new_send_channel_cleanup(MultiFDSendParams *p,* Although multifd_send_thread is not created, but main migration -* thread neet to judge whether it is running, so we need to mark +* thread need to judge whether it is running, so we need to mark * its status.
migration/savevm.c +1 -1
@@ -119,3 +119,3 @@ static struct mig_cmd_args {* uint64_t host page size -* uint64_t taget page size +* uint64_t target page size *
migration/trace-events +1 -1
@@ -186,3 +186,3 @@ source_return_path_thread_switchover_acked(void) "" migration_thread_low_pending(uint64_t pending) "%" PRIu64 -migrate_transferred(uint64_t tranferred, uint64_t time_spent, uint64_t bandwidth, uint64_t size) "transferred %" PRIu64 " time_spent %" PRIu64 " bandwidth %" PRIu64 " max_size %" PRId64 +migrate_transferred(uint64_t transferred, uint64_t time_spent, uint64_t bandwidth, uint64_t size) "transferred %" PRIu64 " time_spent %" PRIu64 " bandwidth %" PRIu64 " max_size %" PRId64 process_incoming_migration_co_end(int ret, int ps) "ret=%d postcopy-state=%d"
Signature · 1 line
2.39.2
Re: [PATCH, trivial 24/29] tree-wide spelling fixes in comments and some messages: migration/
Quoted 16 lines · Michael Tokarev
Signed-off-by Michael Tokarev <[email protected]>--- migration/migration-stats.c | 2 +- migration/migration.h | 4 ++-- migration/multifd-zlib.c | 2 +- migration/multifd-zstd.c | 2 +- migration/multifd.c | 2 +- migration/savevm.c | 2 +- migration/trace-events | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-)migration/migration-stats.c +0
-0
migration/migration-stats.c void migration_rate_set(uint64_t limit) · line 51
Quoted 3 lines
migration/migration-stats.c +1
-1@@ -50,3 +50,3 @@ void migration_rate_set(uint64_t limit)/* -* 'limit' is per second. But we check it each BUFER_DELAY miliseconds. +* 'limit' is per second. But we check it each BUFER_DELAY milliseconds.
BUFER is a typo here as well.
Aside from that:
Re: [PATCH, trivial 24/29] tree-wide spelling fixes in comments and some messages: migration/
Quoted 8 lines · Fabiano Rosas
migration/migration-stats.c void migration_rate_set(uint64_t limit) · line 51
Quoted 6 lines
migration/migration-stats.c +1
-1@@ -50,3 +50,3 @@ void migration_rate_set(uint64_t limit)/* -* 'limit' is per second. But we check it each BUFER_DELAY miliseconds. +* 'limit' is per second. But we check it each BUFER_DELAY milliseconds. BUFER is a typo here as well.
Fixed this one too, thank you!
/mjt
PATCH 25/29 tree-wide spelling fixes in comments and some messages: include/
In reply to Michael Tokarev--- include/block/block_int-common.h | 2 +- include/chardev/char-fe.h | 4 ++-- include/crypto/akcipher.h | 2 +- include/crypto/ivgen.h | 4 ++-- include/elf.h | 4 ++-- include/exec/memory.h | 2 +- include/hw/acpi/aml-build.h | 2 +- include/hw/acpi/pc-hotplug.h | 2 +- include/hw/acpi/vmgenid.h | 2 +- include/hw/boards.h | 6 +++--- include/hw/char/avr_usart.h | 2 +- include/hw/clock.h | 2 +- include/hw/core/tcg-cpu-ops.h | 2 +- include/hw/cxl/cxl_device.h | 2 +- include/hw/hyperv/vmbus.h | 2 +- include/hw/i2c/npcm7xx_smbus.h | 2 +- include/hw/misc/auxbus.h | 2 +- include/hw/misc/macio/pmu.h | 2 +- include/hw/net/mii.h | 2 +- include/hw/pci-host/dino.h | 2 +- include/hw/pci/pcie_aer.h | 2 +- include/hw/ssi/xilinx_spips.h | 2 +- include/hw/virtio/virtio-net.h | 2 +- include/io/channel-socket.h | 4 ++-- include/io/task.h | 2 +- include/qemu/iova-tree.h | 4 ++-- include/qemu/timer.h | 2 +- include/qemu/yank.h | 2 +- include/sysemu/cryptodev-vhost.h | 2 +- include/sysemu/cryptodev.h | 6 +++--- include/sysemu/iothread.h | 2 +- include/sysemu/stats.h | 2 +- include/sysemu/tpm_backend.h | 2 +- include/tcg/helper-info.h | 2 +- include/tcg/tcg.h | 4 ++-- include/ui/kbd-state.h | 2 +- include/ui/spice-display.h | 2 +- include/user/safe-syscall.h | 2 +- 38 files changed, 48 insertions(+), 48 deletions(-)
include/block/block_int-common.h +1 -1
@@ -420,3 +420,3 @@ struct BlockDriver {* Called to inform the driver that the set of cumulative set of used -* permissions for @bs has changed to @perm, and the set of sharable +* permissions for @bs has changed to @perm, and the set of shareable * permission to @shared. The driver can use this to propagate changes to
include/chardev/char-fe.h +2 -2
@@ -80,3 +80,3 @@ bool qemu_chr_fe_backend_open(CharBackend *be);* @context: a main loop context or NULL for the default -* @set_open: whether to call qemu_chr_fe_set_open() implicitely when +* @set_open: whether to call qemu_chr_fe_set_open() implicitly when * any of the handler is non-NULL
@@ -140,3 +140,3 @@ void qemu_chr_fe_disconnect(CharBackend *be);* -* Wait for characted backend to be connected, return < 0 on error or +* Wait for character backend to be connected, return < 0 on error or * if no associated Chardev.
include/crypto/akcipher.h +1 -1
@@ -32,3 +32,3 @@ typedef struct QCryptoAkCipher QCryptoAkCipher;* -* Determine if asymmetric key cipher decribed with @opts is +* Determine if asymmetric key cipher described with @opts is * supported by the current configured build
include/crypto/ivgen.h +2 -2
@@ -34,3 +34,3 @@* <example> -* <title>Encrypting block data with initialiation vectors</title> +* <title>Encrypting block data with initialization vectors</title> * <programlisting>
@@ -149,3 +149,3 @@ QCryptoIVGen *qcrypto_ivgen_new(QCryptoIVGenAlgorithm alg,* -* Calculate a new initialiation vector for the data +* Calculate a new initialization vector for the data * to be stored in sector @sector. The IV will be
include/elf.h +2 -2
@@ -1099,5 +1099,5 @@ typedef struct { -/* Additional section indeces. */ +/* Additional section indices. */ -#define SHN_PARISC_ANSI_COMMON 0xff00/* Section for tenatively declared +#define SHN_PARISC_ANSI_COMMON 0xff00/* Section for tentatively declared symbols in ANSI C. */
include/exec/memory.h +1 -1
@@ -944,3 +944,3 @@ struct MemoryListener {* @last_stage: The last stage to synchronize the log during migration. -* The caller should gurantee that the synchronization with true for +* The caller should guarantee that the synchronization with true for * @last_stage is triggered for once after all VCPUs have been stopped.
include/hw/acpi/aml-build.h +1 -1
@@ -279,3 +279,3 @@ void free_aml_allocator(void);* Joins Aml elements together and helps to construct AML tables -* Examle of usage: +* Example of usage: * Aml *table = aml_def_block("SSDT", ...);
include/hw/acpi/pc-hotplug.h +1 -1
@@ -15,3 +15,3 @@/* -* ONLY DEFINEs are permited in this file since it's shared +* ONLY DEFINEs are permitted in this file since it's shared * between C and ASL code.
include/hw/acpi/vmgenid.h +1 -1
@@ -15,3 +15,3 @@#define VMGENID_GUID_OFFSET 40/* allow space for -* OVMF SDT Header Probe Supressor +* OVMF SDT Header Probe Suppressor */
include/hw/boards.h +3 -3
@@ -160,3 +160,3 @@ typedef struct {* used to provide @cpu_index to socket/core/thread number mapping, allowing -* legacy code to perform maping from cpu_index to topology properties +* legacy code to perform mapping from cpu_index to topology properties * Returns: tuple of socket/core/thread ids given cpu_index belongs to.
@@ -213,6 +213,6 @@ typedef struct {* @default_ram_id: -* Specifies inital RAM MemoryRegion name to be used for default backend +* Specifies initial RAM MemoryRegion name to be used for default backend * creation if user explicitly hasn't specified backend with "memory-backend" * property. -* It also will be used as a way to optin into "-m" option support. +* It also will be used as a way to option into "-m" option support. * If it's not set by board, '-m' will be ignored and generic code will
include/hw/char/avr_usart.h +1 -1
@@ -36,3 +36,3 @@ -/* Relevant bits in regiters. */ +/* Relevant bits in registers. */ #define USART_CSRA_RXC (1 << 7)
include/hw/clock.h +1 -1
@@ -206,3 +206,3 @@ static inline bool clock_set_ns(Clock *clk, unsigned ns)* It is an error to call this function on a clock which has a source. -* Note: this function must not be called during device inititialization +* Note: this function must not be called during device initialization * or migration.
include/hw/core/tcg-cpu-ops.h +1 -1
@@ -16,3 +16,3 @@ struct TCGCPUOps {/** -* @initialize: Initalize TCG state +* @initialize: Initialize TCG state *
include/hw/cxl/cxl_device.h +1 -1
@@ -210,3 +210,3 @@ void cxl_event_set_status(CXLDeviceState *cxl_dstate, CXLEventLogType log_type,* -* CXL 2.0 Errata F4 states futher that the layouts in the specification are +* CXL 2.0 Errata F4 states further that the layouts in the specification are * shown as greater than 128 bits, but implementations are expected to
include/hw/hyperv/vmbus.h +1 -1
@@ -53,3 +53,3 @@ struct VMBusDeviceClass { -/* Extentions to standard device callbacks */ +/* Extensions to standard device callbacks */ void (*vmdev_realize)(VMBusDevice *vdev,Error **errp);
include/hw/i2c/npcm7xx_smbus.h +1 -1
@@ -60,3 +60,3 @@ typedef enum NPCM7xxSMBusStatus {* @fif_cts: The FIFO control status register. -* @fair_per: The fair preriod register. +* @fair_per: The fair period register. * @txf_ctl: The transmit FIFO control register.
include/hw/misc/auxbus.h +1 -1
@@ -108,3 +108,3 @@ void aux_bus_realize(AUXBus *bus);* -* @bus Ths bus where the request happen. +* @bus The bus where the request happen. * @cmd The command requested.
include/hw/misc/macio/pmu.h +1 -1
@@ -78,3 +78,3 @@ -/* Bits in the environement message (either obtained via PMU_GET_COVER, +/* Bits in the environment message (either obtained via PMU_GET_COVER, * or via PMU_INT_ENVIRONMENT on core99 */
include/hw/net/mii.h +1 -1
@@ -73,3 +73,3 @@ -#define MII_ANAR_PAUSE_ASYM (1 << 11)/* Try for asymetric pause */ +#define MII_ANAR_PAUSE_ASYM (1 << 11)/* Try for asymmetric pause */ #define MII_ANAR_PAUSE (1 << 10)/* Try for pause */
include/hw/pci-host/dino.h +1 -1
@@ -1,3 +1,3 @@/* -* HP-PARISC Dino PCI chipset emulation, as in B160L and similiar machines +* HP-PARISC Dino PCI chipset emulation, as in B160L and similar machines *
include/hw/pci/pcie_aer.h +1 -1
@@ -42,3 +42,3 @@ struct PCIEAERLog {* I bet that 128 log size would be big enough, otherwise too many errors -* for system to function normaly. But could consecutive errors occur? +* for system to function normally. But could consecutive errors occur? */
include/hw/ssi/xilinx_spips.h +1 -1
@@ -106,3 +106,3 @@ struct XlnxZynqMPQSPIPS { -/* GQSPI has seperate tx/rx fifos */ +/* GQSPI has separate tx/rx fifos */ Fifo8 rx_fifo_g;
include/hw/virtio/virtio-net.h +1 -1
@@ -111,3 +111,3 @@ typedef struct VirtioNetRscSeg {uint16_t dup_ack; -bool is_coalesced;/* need recal ipv4 header checksum, mark here */ +bool is_coalesced;/* need recall ipv4 header checksum, mark here */ VirtioNetRscUnit unit;
include/io/channel-socket.h +2 -2
@@ -126,3 +126,3 @@ void qio_channel_socket_connect_async(QIOChannelSocket *ioc,* @addr: the address to listen to -* @num: the expected ammount of connections +* @num: the expected amount of connections * @errp: pointer to a NULL-initialized error object
@@ -143,3 +143,3 @@ int qio_channel_socket_listen_sync(QIOChannelSocket *ioc,* @addr: the address to listen to -* @num: the expected ammount of connections +* @num: the expected amount of connections * @callback: the function to invoke on completion
include/io/task.h +1 -1
@@ -147,3 +147,3 @@ typedef void (*QIOTaskWorker)(QIOTask *task,* results in the main event thread. This allows code which -* cannot easily be rewritten to be asychronous (such as DNS +* cannot easily be rewritten to be asynchronous (such as DNS * lookups) to be easily run non-blocking. Reporting the
include/qemu/iova-tree.h +2 -2
@@ -17,3 +17,3 @@* benefit is that we can merge adjacent ranges internally within the -* tree. It can save a lot of memory when the ranges are splitted but +* tree. It can save a lot of memory when the ranges are split but * mostly continuous.
@@ -130,3 +130,3 @@ const DMAMap *iova_tree_find_address(const IOVATree *tree, hwaddr iova);* @tree: the iova tree to iterate on -* @iterator: the interator for the mappings, return true to stop +* @iterator: the iterator for the mappings, return true to stop *
include/qemu/timer.h +1 -1
@@ -355,3 +355,3 @@ void timerlist_notify(QEMUTimerList *timer_list);* called whenever a clock in the timer list group is -* reenabled or whenever a timer associated with any timer +* re-enabled or whenever a timer associated with any timer * list is modified. If @cb is specified as null, qemu_notify()
include/qemu/yank.h +1 -1
@@ -27,3 +27,3 @@ typedef void (YankFn)(void *opaque);* -* Returns true on success or false if an error occured. +* Returns true on success or false if an error occurred. */
include/sysemu/cryptodev-vhost.h +1 -1
@@ -81,3 +81,3 @@ cryptodev_vhost_init(* -* Clean the resouce associated with @crypto that realizaed +* Clean the resource associated with @crypto that realizaed * by cryptodev_vhost_init()
include/sysemu/cryptodev.h +3 -3
@@ -341,3 +341,3 @@ void cryptodev_backend_free_client(* -* Clean the resouce associated with @backend that realizaed +* Clean the resource associated with @backend that realizaed * by the specific backend's init() callback
@@ -409,3 +409,3 @@ int cryptodev_backend_crypto_operation(* @backend: the cryptodev backend object -* @used: ture or false +* @used: true or false *
@@ -429,3 +429,3 @@ bool cryptodev_backend_is_used(CryptoDevBackend *backend);* @backend: the cryptodev backend object -* @ready: ture or false +* @ready: true or false *
include/sysemu/iothread.h +1 -1
@@ -61,3 +61,3 @@ void iothread_destroy(IOThread *iothread);/* -* Returns true if executing withing IOThread context, +* Returns true if executing within IOThread context, * false otherwise.
include/sysemu/stats.h +1 -1
@@ -36,3 +36,3 @@ void add_stats_schema(StatsSchemaList **, StatsProvider, StatsTarget,/* -* True if a string matches the filter passed to the stats_fn callabck, +* True if a string matches the filter passed to the stats_fn callback, * false otherwise.
include/sysemu/tpm_backend.h +1 -1
@@ -117,3 +117,3 @@ int tpm_backend_startup_tpm(TPMBackend *s, size_t buffersize);* tpm_backend_had_startup_error: -* @s: the backend to query for a statup error +* @s: the backend to query for a startup error *
include/tcg/helper-info.h +1 -1
@@ -1,3 +1,3 @@/* -* TCG Helper Infomation Structure +* TCG Helper Information Structure *
include/tcg/tcg.h +2 -2
@@ -881,3 +881,3 @@ enum {/* Instruction is optional and not implemented by the host, or insn -is generic and should not be implemened by the host. */ +is generic and should not be implemented by the host. */ TCG_OPF_NOT_PRESENT = 0x20,
@@ -1125,3 +1125,3 @@ void tcg_expand_vec_op(TCGOpcode, TCGType, unsigned, TCGArg, ...); -/* Replicate a constant C accoring to the log2 of the element size. */ +/* Replicate a constant C according to the log2 of the element size. */ uint64_t dup_const (unsigned vece,uint64_t c);
include/ui/kbd-state.h +1 -1
@@ -67,3 +67,3 @@ void qkbd_state_key_event(QKbdState *kbd, QKeyCode qcode, bool down);* @kbd: state tracker state. -* @delay_ms: the delay in miliseconds. +* @delay_ms: the delay in milliseconds. */
include/ui/spice-display.h +1 -1
@@ -44,3 +44,3 @@/* -* Internal enum to differenciate between options for +* Internal enum to differentiate between options for * io calls that have a sync (old) version and an _async (new)
include/user/safe-syscall.h +1 -1
@@ -93,3 +93,3 @@* section of host native assembly. If a signal occurs, our signal -* handler checks the interrupted host PC against the addresse of that +* handler checks the interrupted host PC against the address of that * known section. If the PC is before or at the address of the syscall
Signature · 1 line
2.39.2
PATCH 26/29 tree-wide spelling fixes in comments and some messages: scripts/
In reply to Michael Tokarev--- scripts/checkpatch.pl | 4 ++-- scripts/ci/gitlab-pipeline-status | 2 +- scripts/codeconverter/codeconverter/qom_macros.py | 2 +- scripts/oss-fuzz/minimize_qtest_trace.py | 8 ++++---- scripts/performance/topN_callgrind.py | 2 +- scripts/performance/topN_perf.py | 2 +- scripts/qapi/gen.py | 2 +- scripts/qapi/pylintrc | 2 +- scripts/replay-dump.py | 2 +- scripts/simplebench/bench_block_job.py | 2 +- 10 files changed, 14 insertions(+), 14 deletions(-)
scripts/checkpatch.pl +2 -2
@@ -1623,3 +1623,3 @@ sub process { - # don't consider groups splitted by [.:/ ], like 2A.20:12ab + # don't consider groups split by [.:/ ], like 2A.20:12ab my $tmpline = $rawline;
@@ -2031,3 +2031,3 @@ sub process { if ($line =~ /\bstatic\s.*=\s*(0|NULL|false)\s*;/) { - ERROR("do not initialise statics to 0 or NULL\n" . + ERROR("do not initialise statistics to 0 or NULL\n" . $herecurr);
scripts/ci/gitlab-pipeline-status +1 -1
@@ -30,3 +30,3 @@ class CommunicationFailure(Exception): class NoPipelineFound(Exception): - """Communication is successfull but pipeline is not found.""" + """Communication is successful but pipeline is not found."""
scripts/codeconverter/codeconverter/qom_macros.py +1 -1
@@ -144,3 +144,3 @@ def make_structname(self) -> str: def strip_typedef(self) -> Patch: - """generate patch that will strip typedef from the struct declartion + """generate patch that will strip typedef from the struct declaration
scripts/oss-fuzz/minimize_qtest_trace.py +4 -4
@@ -4,3 +4,3 @@ """ -This takes a crashing qtest trace and tries to remove superflous operations +This takes a crashing qtest trace and tries to remove superfluous operations """
@@ -40,3 +40,3 @@ def usage(): -M1: enable a loop around the remove minimizer, which may help decrease some - timing dependant instructions. Off by default. + timing dependent instructions. Off by default. -M2: try setting bits in operand of write/out to zero. Off by default.
@@ -179,3 +179,3 @@ def remove_lines(newtrace, outpath): # to the right side, then add one to n, until length/2^n == 0. The idea - # is to prune unneccessary bytes from long writes, while accommodating + # is to prune unnecessary bytes from long writes, while accommodating # arbitrary MemoryRegion access sizes and alignments.
@@ -294,3 +294,3 @@ def minimize_trace(inpath, outpath): old_len = len(newtrace) - print("trace lenth = ", old_len) + print("trace length = ", old_len) remove_lines(newtrace, outpath)
scripts/performance/topN_callgrind.py +1 -1
@@ -6,3 +6,3 @@ # <qemu executable> [<qemu executable options>] \ -# <target executable> [<target execurable options>] +# <target executable> [<target executable options>] #
scripts/performance/topN_perf.py +1 -1
@@ -6,3 +6,3 @@ # <qemu executable> [<qemu executable options>] \ -# <target executable> [<target execurable options>] +# <target executable> [<target executable options>] #
scripts/qapi/gen.py +1 -1
@@ -83,3 +83,3 @@ def write(self, output_dir: str) -> None: - # use os.open for O_CREAT to create and read a non-existant file + # use os.open for O_CREAT to create and read a non-existent file fd = os.open(pathname, os.O_RDWR | os.O_CREAT, 0o666)
scripts/qapi/pylintrc +1 -1
@@ -13,3 +13,3 @@ ignore-patterns=schema.py, # file where it should appear only once). You can also use "--disable=all" to -# disable everything first and then reenable specific checks. For example, if +# disable everything first and then re-enable specific checks. For example, if # you want to run only the similarities checker, you can use "--disable=all
scripts/replay-dump.py +1 -1
@@ -113,3 +113,3 @@ def print_event(eid, name, string=None, event_count=None): def decode_unimp(eid, name, _unused_dumpfile): - "Unimplimented decoder, will trigger exit" + "Unimplemented decoder, will trigger exit" print("%s not handled - will now stop" % (name))
scripts/simplebench/bench_block_job.py +1 -1
@@ -41,3 +41,3 @@ def bench_block_job(cmd, cmd_args, qemu_args): Returns {'seconds': int} on success and {'error': str} on failure, dict may - contain addional 'vm-log' field. Return value is compatible with + contain additional 'vm-log' field. Return value is compatible with simplebench lib.
Signature · 1 line
2.39.2
PATCH 27/29 tree-wide spelling fixes in comments and some messages: tests/
In reply to Michael Tokarev--- tests/avocado/acpi-bits.py | 4 ++-- tests/avocado/acpi-bits/bits-tests/testacpi.py2 | 4 ++-- tests/decode/err_pattern_group_ident2.decode | 2 +- tests/docker/common.rc | 2 +- tests/migration/guestperf-batch.py | 2 +- tests/migration/guestperf.py | 2 +- tests/plugin/mem.c | 2 +- tests/qapi-schema/bad-if-not.json | 2 +- tests/qemu-iotests/029 | 2 +- tests/qemu-iotests/040 | 8 ++++---- tests/qemu-iotests/046 | 2 +- tests/qemu-iotests/059 | 2 +- tests/qemu-iotests/061 | 2 +- tests/qemu-iotests/071 | 2 +- tests/qemu-iotests/197 | 2 +- tests/qemu-iotests/215 | 2 +- tests/qemu-iotests/298 | 2 +- tests/qemu-iotests/pylintrc | 4 ++-- tests/qtest/ahci-test.c | 2 +- tests/qtest/bcm2835-dma-test.c | 2 +- tests/qtest/bios-tables-test.c | 2 +- tests/qtest/ds1338-test.c | 2 +- tests/qtest/fuzz/generic_fuzz.c | 4 ++-- tests/qtest/libqos/qgraph.c | 4 ++-- tests/qtest/libqos/qgraph_internal.h | 2 +- tests/qtest/libqos/virtio-gpio.c | 2 +- tests/qtest/libqtest.c | 4 ++-- tests/qtest/migration-test.c | 6 +++--- tests/qtest/npcm7xx_timer-test.c | 2 +- tests/qtest/tpm-emu.c | 2 +- tests/qtest/tpm-tests.c | 2 +- tests/qtest/tpm-tests.h | 2 +- tests/qtest/tpm-tis-i2c-test.c | 2 +- tests/qtest/tpm-tis-util.c | 2 +- tests/qtest/vhost-user-blk-test.c | 2 +- tests/qtest/virtio-net-test.c | 2 +- tests/qtest/vmgenid-test.c | 2 +- tests/tsan/suppressions.tsan | 2 +- tests/uefi-test-tools/Makefile | 2 +- tests/unit/check-qjson.c | 2 +- tests/unit/test-aio.c | 2 +- tests/unit/test-bdrv-graph-mod.c | 12 ++++++------ tests/unit/test-crypto-secret.c | 2 +- tests/unit/test-qobject-input-visitor.c | 2 +- tests/unit/test-throttle.c | 4 ++-- tests/unit/test-util-filemonitor.c | 2 +- tests/unit/test-xs-node.c | 2 +- tests/vm/Makefile.include | 2 +- tests/vm/ubuntuvm.py | 2 +- 49 files changed, 66 insertions(+), 66 deletions(-)
tests/avocado/acpi-bits.py +2 -2
@@ -2,3 +2,3 @@ # group: rw quick -# Exercize QEMU generated ACPI/SMBIOS tables using biosbits, +# Exercise QEMU generated ACPI/SMBIOS tables using biosbits, # https://biosbits.org/
@@ -368,3 +368,3 @@ def tearDown(self): def test_acpi_smbios_bits(self): - """The main test case implementaion.""" + """The main test case implementation."""
tests/avocado/acpi-bits/bits-tests/testacpi.py2 +2 -2
@@ -275,4 +275,4 @@ def test_rsdp(): csum = sum(ord(c) for c in data[:20]) % 0x100 - testsuite.test('ACPI 1.0 table first 20 bytes cummulative checksum must equal 0', csum == 0) - testsuite.print_detail("Cummulative checksum = {} (Expected 0)".format(csum)) + testsuite.test('ACPI 1.0 table first 20 bytes cumulative checksum must equal 0', csum == 0) + testsuite.print_detail("Cumulative checksum = {} (Expected 0)".format(csum))
tests/decode/err_pattern_group_ident2.decode +1 -1
@@ -9,3 +9,3 @@ sub1 00000000 00000000 00000000 ........ %sub1 -# comments are suposed to be indented +# comments are supposed to be indented }
tests/docker/common.rc +1 -1
@@ -14,3 +14,3 @@ # This might be set by ENV of a docker container... it is always -# overriden by TARGET_LIST if the user sets it. We special case +# overridden by TARGET_LIST if the user sets it. We special case # "none" to allow for other options like --disable-tcg to restrict the
tests/migration/guestperf-batch.py +1 -1
@@ -2,3 +2,3 @@ # -# Migration test batch comparison invokation +# Migration test batch comparison invocation #
tests/migration/guestperf.py +1 -1
@@ -2,3 +2,3 @@ # -# Migration test direct invokation command +# Migration test direct invocation command #
tests/plugin/mem.c +1 -1
@@ -100,3 +100,3 @@ QEMU_PLUGIN_EXPORT int qemu_plugin_install(qemu_plugin_id_t id, }else { -fprintf (stderr,"invaild value for argument track: %s\n" , opt); +fprintf (stderr,"invalid value for argument track: %s\n" , opt);return -1 ;
tests/qapi-schema/bad-if-not.json +1 -1
@@ -1,2 +1,2 @@ -# check 'if not' with empy argument +# check 'if not' with empty argument { 'struct': 'TestIfStruct', 'data': { 'foo': 'int' },
tests/qemu-iotests/029 +1 -1
@@ -41,3 +41,3 @@ trap "_cleanup; exit \$status" 0 1 2 3 15 -# Any format supporting intenal snapshots +# Any format supporting internal snapshots _supported_fmt qcow2
tests/qemu-iotests/040 +4 -4
@@ -847,3 +847,3 @@ class TestCommitWithFilters(iotests.QMPTestCase): - # 2 has been comitted into 1 + # 2 has been committed into 1 self.pattern_files[2] = self.img1
@@ -865,3 +865,3 @@ class TestCommitWithFilters(iotests.QMPTestCase): - # 1 has been comitted into 0 + # 1 has been committed into 0 self.pattern_files[1] = self.img0
@@ -902,3 +902,3 @@ class TestCommitWithFilters(iotests.QMPTestCase): - # 3 has been comitted into 2 + # 3 has been committed into 2 self.pattern_files[3] = self.img2
@@ -918,3 +918,3 @@ class TestCommitWithFilters(iotests.QMPTestCase): - # 3 has been comitted into 2 + # 3 has been committed into 2 self.pattern_files[3] = self.img2
tests/qemu-iotests/046 +1 -1
@@ -127,3 +127,3 @@ EOF # Sequential write, but the next cluster is already allocated -# and phyiscally in the right position +# and physically in the right position cat <<EOF
tests/qemu-iotests/059 +1 -1
@@ -184,3 +184,3 @@ echo "=== Testing afl image with a very large capacity ===" _use_sample_img afl9.vmdk.bz2 -_img_info | grep -q 'Cannot allocate memory' && _notrun "Insufficent memory, skipped test" +_img_info | grep -q 'Cannot allocate memory' && _notrun "Insufficient memory, skipped test" _img_info
tests/qemu-iotests/061 +1 -1
@@ -51,3 +51,3 @@ _supported_os Linux # we don't have explicit tests for zstd qcow2 compression type, as zstd may be -# not compiled in. And we can't create compat images with comression type +# not compiled in. And we can't create compat images with compression type # extension
tests/qemu-iotests/071 +1 -1
@@ -43,3 +43,3 @@ _require_drivers blkdebug blkverify # blkdebug can only inject errors on bs->file, not on the data_file, -# so thie test does not work with external data files +# so this test does not work with external data files _unsupported_imgopts data_file
tests/qemu-iotests/197 +1 -1
@@ -95,3 +95,3 @@ case $output in *allocate*) - _notrun "Insufficent memory to run test" ;; + _notrun "Insufficient memory to run test" ;; *) printf '%s\n' "$output" ;;
tests/qemu-iotests/215 +1 -1
@@ -97,3 +97,3 @@ case $output in *allocate*) - _notrun "Insufficent memory to run test" ;; + _notrun "Insufficient memory to run test" ;; *) printf '%s\n' "$output" ;;
tests/qemu-iotests/298 +1 -1
@@ -143,3 +143,3 @@ class TestTruncate(iotests.QMPTestCase): # Probably we'll want preallocate filter to keep align to cluster when - # shrink preallocation, so, ignore small differece + # shrink preallocation, so, ignore small difference self.assertLess(abs(stat.st_size - refstat.st_size), 64 * 1024)
tests/qemu-iotests/pylintrc +2 -2
@@ -6,3 +6,3 @@ # file where it should appear only once). You can also use "--disable=all" to -# disable everything first and then reenable specific checks. For example, if +# disable everything first and then re-enable specific checks. For example, if # you want to run only the similarities checker, you can use "--disable=all
@@ -21,3 +21,3 @@ disable=invalid-name, unsubscriptable-object, - # pylint's static analysis causes false positivies for file_path(); + # pylint's static analysis causes false positives for file_path(); # If we really care to make it statically knowable, we'll use mypy.
tests/qtest/ahci-test.c +1 -1
@@ -332,3 +332,3 @@ static void ahci_test_pci_spec(AHCIQState *ahci) -/* Check specification adherence for capability extenstions. */ +/* Check specification adherence for capability extensions. */ data =qpci_config_readw (ahci->dev, datal);
tests/qtest/bcm2835-dma-test.c +1 -1
@@ -27,3 +27,3 @@ -/* DMA Trasfer Info fields: */ +/* DMA Transfer Info fields: */ #define BCM2708_DMA_INT_EN (1 << 0)
tests/qtest/bios-tables-test.c +1 -1
@@ -28,3 +28,3 @@* this will produce a bunch of warnings about differences -* beween actual and expected ACPI tables. If you have IASL installed, +* between actual and expected ACPI tables. If you have IASL installed, * they will also be disassembled so you can look at the disassembled
tests/qtest/ds1338-test.c +1 -1
@@ -40,3 +40,3 @@ static void send_and_receive(void *obj, void *data, QGuestAllocator *alloc) -/* check retrieved time againt local time */ +/* check retrieved time against local time */ g_assert_cmpuint(bcd2bin(resp[4]), == , tm_ptr->tm_mday);
tests/qtest/fuzz/generic_fuzz.c +2 -2
@@ -848,5 +848,5 @@ static void generic_pre_fuzz(QTestState *s)* This function attempts to produce an input that: -* Ouptut: maps a device's BARs, set up three DMA patterns, triggers +* Output: maps a device's BARs, set up three DMA patterns, triggers * functionality A device, replaces the DMA patterns with a single -* patten, and triggers device functionality B. +* pattern, and triggers device functionality B. */
tests/qtest/libqos/qgraph.c +2 -2
@@ -56,3 +56,3 @@ struct QOSStackElement { -/* Each enty in these hash table will consist of <string, node/edge> pair. */ +/* Each entry in these hash table will consist of <string, node/edge> pair. */ static GHashTable *edge_table;
@@ -216,3 +216,3 @@ static QOSGraphEdge *search_list_edges(QOSGraphEdgeList *edgelist,* table. A machine is the child of the root node. -* This function forces the research in the childs of the root, +* This function forces the research in the children of the root, * to check the node is a proper machine
tests/qtest/libqos/qgraph_internal.h +1 -1
@@ -199,3 +199,3 @@ char *qos_graph_edge_get_name(QOSGraphEdge *edge);* -* It performs a search only trough the list of machines +* It performs a search only through the list of machines * (i.e. the QOS_ROOT child).
tests/qtest/libqos/virtio-gpio.c +1 -1
@@ -30,3 +30,3 @@ static void virtio_gpio_cleanup(QVhostUserGPIO *gpio)* This handles the VirtIO setup from the point of view of the driver -* frontend and therefor doesn't present any vhost specific features +* frontend and therefore doesn't present any vhost specific features * and in fact masks of the re-used bit.
tests/qtest/libqtest.c +2 -2
@@ -114,3 +114,3 @@ static int socket_accept(int sock)/* -* timeout unit of blocking receive calls is different among platfoms. +* timeout unit of blocking receive calls is different among platforms. * It's in seconds on non-Windows platforms but milliseconds on Windows.
@@ -1693,3 +1693,3 @@ QTestState *qtest_inproc_init(QTestState **s, bool log, const char* arch, -/* send() may not have a matching protoype, so use a type-safe wrapper */ +/* send() may not have a matching prototype, so use a type-safe wrapper */ qts->ops.external_send = send;
tests/qtest/migration-test.c +3 -3
@@ -488,3 +488,3 @@ static void migrate_ensure_converge(QTestState *who)* Finally we go back to the source and read a byte just -* before the marker untill we see it flip in value. This +* before the marker until we see it flip in value. This * is proof that start_address -> MAGIC_OFFSET_BASE
@@ -834,3 +834,3 @@ static int test_migrate_start(QTestState **from, QTestState **to,* Remove shmem file immediately to avoid memory leak in test failed case. -* It's valid becase QEMU has already opened this file +* It's valid because QEMU has already opened this file */
@@ -2109,3 +2109,3 @@ static void test_migrate_auto_converge(void)* We want the test to be stable and as fast as possible. -* E.g., with 1Gb/s bandwith migration may pass without throttling, +* E.g., with 1Gb/s bandwidth migration may pass without throttling, * so we need to decrease a bandwidth.
tests/qtest/npcm7xx_timer-test.c +1 -1
@@ -386,3 +386,3 @@ static void test_pause_resume(gconstpointer test_data) -/* Verifies that the prescaler can be changed while the timer is runnin. */ +/* Verifies that the prescaler can be changed while the timer is running. */ static void test_prescaler_change (gconstpointer test_data)
tests/qtest/tpm-emu.c +1 -1
@@ -79,3 +79,3 @@ static void *tpm_emu_tpm_thread(void *data)default : -g_debug ("unsupport TPM version %u" , s->tpm_version); +g_debug ("unsupported TPM version %u" , s->tpm_version);g_assert_not_reached ();
tests/qtest/tpm-tests.c +1 -1
@@ -1,3 +1,3 @@/* -* QTest TPM commont test code +* QTest TPM common test code *
tests/qtest/tpm-tests.h +1 -1
@@ -1,3 +1,3 @@/* -* QTest TPM commont test code +* QTest TPM common test code *
tests/qtest/tpm-tis-i2c-test.c +1 -1
@@ -470,3 +470,3 @@ static void tpm_tis_i2c_test_check_access_reg_release(const void *data)* highest locality should now be active; release it and make sure the -* next higest locality is active afterwards +* next highest locality is active afterwards */
tests/qtest/tpm-tis-util.c +1 -1
@@ -342,3 +342,3 @@ void tpm_tis_test_check_access_reg_release(const void *data)* highest locality should now be active; release it and make sure the -* next higest locality is active afterwards +* next highest locality is active afterwards */
tests/qtest/vhost-user-blk-test.c +1 -1
@@ -963,3 +963,3 @@ static void *vhost_user_blk_test_setup(GString *cmd_line, void *arg)* Since vhost-user server only serves one vhost-user client one time, -* another exprot +* another export *
tests/qtest/virtio-net-test.c +1 -1
@@ -214,3 +214,3 @@ static void announce_self(void *obj, void *data, QGuestAllocator *t_alloc)/* -* Stop the announcment by settings rounds to 0 on the +* Stop the announcement by settings rounds to 0 on the * existing timer.
tests/qtest/vmgenid-test.c +1 -1
@@ -21,3 +21,3 @@#define VMGENID_GUID_OFFSET 40/* allow space for -* OVMF SDT Header Probe Supressor +* OVMF SDT Header Probe Suppressor */
tests/tsan/suppressions.tsan +1 -1
@@ -9,3 +9,3 @@ mutex:pthread_mutex_lock -# TSan reports a race betwen pthread_mutex_init() and +# TSan reports a race between pthread_mutex_init() and # pthread_mutex_lock(). Since this is outside of QEMU,
tests/uefi-test-tools/Makefile +1 -1
@@ -89,3 +89,3 @@ Build/%.fat: Build/%.efi # In turn, the "build" utility of edk2 BaseTools invokes another "make". -# Although the outer "make" process advertizes its job server to all child +# Although the outer "make" process advertises its job server to all child # processes via MAKEFLAGS in the environment, the outer "make" closes the job
tests/unit/check-qjson.c +1 -1
@@ -1488,3 +1488,3 @@ int main(int argc, char **argv)g_test_add_func ("/literals/interpolation/valid" , interpolation_valid); -g_test_add_func ("/literals/interpolation/unkown" , interpolation_unknown); +g_test_add_func ("/literals/interpolation/unknown" , interpolation_unknown);g_test_add_func ("/literals/interpolation/string" , interpolation_string);
tests/unit/test-aio.c +1 -1
@@ -456,3 +456,3 @@ static void test_timer_schedule(void) -/* timer_mod may well cause an event notifer to have gone off, +/* timer_mod may well cause an event notifier to have gone off, * so clear that
tests/unit/test-bdrv-graph-mod.c +6 -6
@@ -100,5 +100,5 @@ static BlockDriverState *exclusive_writer_node(const char *name)* v -* +-------------------+ +----------------+ -* | passtrough filter |---------->| null-co node | -* +-------------------+ +----------------+ +* +--------------------+ +----------------+ +* | passthrough filter |--------->| null-co node | +* +--------------------+ +----------------+ *
@@ -116,5 +116,5 @@ static BlockDriverState *exclusive_writer_node(const char *name)* v -* +-------------------+ -* | passtrough filter | -* +-------------------+ +* +--------------------+ +* | passthrough filter | +* +--------------------+ * | |
tests/unit/test-crypto-secret.c +1 -1
@@ -246,3 +246,3 @@ static void test_secret_keyring_bad_key_access_right(void) -g_test_skip ("TODO: Need responce from Linux kernel maintainers" ); +g_test_skip ("TODO: Need response from Linux kernel maintainers" );return ;
tests/unit/test-qobject-input-visitor.c +1 -1
@@ -96,3 +96,3 @@ Visitor *visitor_input_test_init(TestInputVisitorData *data,* literal/format json_string argument and so can be used for -* programatically generated strings (and we can't pass in programatically +* programmatically generated strings (and we can't pass in programmatically * generated strings via %s format parameters since qobject_from_jsonv()
tests/unit/test-throttle.c +2 -2
@@ -137,3 +137,3 @@ static void test_compute_wait(void)/* We can do bursts for the 2 seconds we have configured in -* burst_length. We have 100 extra miliseconds of burst +* burst_length. We have 100 extra milliseconds of burst * because bkt.level has been leaking during this time.
@@ -381,3 +381,3 @@ static void test_is_valid(void)test_is_valid_for_value (0 , true); -/* positives numers are valids */ +/* positives numbers are valids */ test_is_valid_for_value (1 , true);
tests/unit/test-util-filemonitor.c +1 -1
@@ -134,3 +134,3 @@ qemu_file_monitor_test_record_free(QFileMonitorTestRecord *rec)* loop, we can't assume there is a record available -* immediately. Thus we will sleep for upto 5 seconds +* immediately. Thus we will sleep for up to 5 seconds * to wait for the event to be queued for us.
tests/unit/test-xs-node.c +1 -1
@@ -364,3 +364,3 @@ static void test_xs_node_simple(void) -/* Even if we use an abolute path */ +/* Even if we use an absolute path */ g_byte_array_set_size (data,0 );
tests/vm/Makefile.include +1 -1
@@ -83,3 +83,3 @@ endif @echo " TARGET_LIST=a,b,c - Override target list in builds" - @echo " V=1 - Enable verbose ouput on host and guest commands" + @echo " V=1 - Enable verbose output on host and guest commands"
tests/vm/ubuntuvm.py +1 -1
@@ -53,3 +53,3 @@ def build_image(self, img): # Issue the install commands. - # This can be overriden by the user in the config .yml. + # This can be overridden by the user in the config .yml. install_cmds = self._config['install_cmds'].split(',')
Signature · 1 line
2.39.2
PATCH 28/29 tree-wide spelling fixes in comments and some messages: qga/
In reply to Michael Tokarev--- qga/channel-posix.c | 2 +- qga/commands-posix-ssh.c | 2 +- qga/commands-posix.c | 2 +- qga/commands-win32.c | 4 ++-- qga/main.c | 2 +- qga/vss-win32/install.cpp | 4 ++-- 6 files changed, 8 insertions(+), 8 deletions(-)
qga/channel-posix.c +1 -1
@@ -154,3 +154,3 @@ static gboolean ga_channel_open(GAChannel *c, const gchar *path,* In the default state channel sends echo of every command to a -* client. The client programm doesn't expect this and raises an +* client. The client program doesn't expect this and raises an * error. Suppress echo by resetting ECHO terminal flag.
qga/commands-posix-ssh.c +1 -1
@@ -384,3 +384,3 @@ test_add_keys(void) -/* key2 came first, and should'nt be duplicated */ +/* key2 came first, and shouldn't be duplicated */ test_authorized_keys_equal("algo key2 comments\n"
qga/commands-posix.c +1 -1
@@ -3251,3 +3251,3 @@ GuestUserList *qmp_guest_get_users(Error **errp) -/* Replace escaped special characters with theire real values. The replacement +/* Replace escaped special characters with their real values. The replacement * is done in place -- returned value is in the original string.
qga/commands-win32.c +2 -2
@@ -489,3 +489,3 @@ static GuestDiskBusType win2qemu[] = {/* -* BusTypeSpaces currently is not suported +* BusTypeSpaces currently is not supported */
@@ -2261,3 +2261,3 @@ static char *ga_get_win_product_name(Error **errp)if (err !=ERROR_SUCCESS ) { -error_setg_win32 (errp, err,"failed to retrive ProductName" ); +error_setg_win32 (errp, err,"failed to retrieve ProductName" ); goto fail;
qga/main.c +1 -1
@@ -1335,3 +1335,3 @@ static bool check_is_frozen(GAState *s)* or reboot may have since unfrozen them), but better to require an -* uneeded unfreeze than to risk hanging on start-up +* unneeded unfreeze than to risk hanging on start-up */
qga/vss-win32/install.cpp +2 -2
@@ -345,3 +345,3 @@ STDAPI COMRegister(void) - /* Setup roles of the applicaion */ + /* Setup roles of the application */
@@ -441,3 +441,3 @@ STDAPI DllRegisterServer(void) - /* Add this module to registery */ + /* Add this module to registry */
Signature · 1 line
2.39.2
PATCH 29/29 tree-wide spelling fixes in comments and some messages: other
In reply to Michael Tokarev--- accel/tcg/tb-maint.c | 2 +- backends/tpm/tpm_ioctl.h | 2 +- chardev/char-socket.c | 6 +++--- chardev/char.c | 2 +- contrib/plugins/cache.c | 2 +- contrib/plugins/lockstep.c | 2 +- crypto/afalg.c | 2 +- crypto/block-luks.c | 6 +++--- crypto/der.c | 2 +- crypto/der.h | 6 +++--- linux-user/elfload.c | 2 +- linux-user/flatload.c | 2 +- linux-user/syscall.c | 6 +++--- nbd/client-connection.c | 2 +- net/checksum.c | 4 ++-- net/filter.c | 4 ++-- net/vhost-vdpa.c | 8 ++++---- semihosting/config.c | 2 +- semihosting/syscalls.c | 4 ++-- softmmu/icount.c | 2 +- softmmu/ioport.c | 2 +- stubs/colo.c | 2 +- 22 files changed, 36 insertions(+), 36 deletions(-)
accel/tcg/tb-maint.c +1 -1
@@ -1,3 +1,3 @@/* -* Translation Block Maintaince +* Translation Block Maintenance *
backends/tpm/tpm_ioctl.h +1 -1
@@ -240,3 +240,3 @@ struct ptm_lockstorage {ptm_res tpm_result; - } resp;/* reponse */ + } resp;/* response */ } u;
chardev/char-socket.c +3 -3
@@ -712,3 +712,3 @@ static void tcp_chr_telnet_init(Chardev *chr) init->buflen =12 ; -/* Prep the telnet negotion to put telnet in binary, +/* Prep the telnet negotiation to put telnet in binary, * no echo, single char mode */
@@ -720,3 +720,3 @@ static void tcp_chr_telnet_init(Chardev *chr) init->buflen =21 ; -/* Prep the TN3270 negotion based on RFC1576 */ +/* Prep the TN3270 negotiation based on RFC1576 */ IACSET (init->buf,0xff ,0xfd ,0x19 );/* IAC DO EOR */
@@ -1292,3 +1292,3 @@ static bool qmp_chardev_validate_socket(ChardevSocket *sock, -/* Validate any options which have a dependancy on client vs server */ +/* Validate any options which have a dependency on client vs server */ if (!sock->has_server || sock->server) {
chardev/char.c +1 -1
@@ -1117,3 +1117,3 @@ ChardevReturn *qmp_chardev_change(const char *id, ChardevBackend *backend, -/* change successfull, clean up */ +/* change successful, clean up */ chr_new->handover_yank_instance = false;
contrib/plugins/cache.c +1 -1
@@ -352,3 +352,3 @@ static int in_cache(Cache *cache, uint64_t addr)* -* Returns true if the requsted data is hit in the cache and false when missed. +* Returns true if the requested data is hit in the cache and false when missed. * The cache is updated on miss for the next access.
contrib/plugins/lockstep.c +1 -1
@@ -110,3 +110,3 @@ static void report_divergance(ExecState *us, ExecState *them)* If we have diverged before did we get back on track or are we -* totally loosing it? +* totally losing it? */
crypto/afalg.c +1 -1
@@ -75,3 +75,3 @@ qcrypto_afalg_comm_alloc(const char *type, const char *name, afalg =g_new0 (QCryptoAFAlg,1 ); -/* initilize crypto API socket */ +/* initialize crypto API socket */ afalg->opfd =-1 ;
crypto/block-luks.c +3 -3
@@ -246,3 +246,3 @@ qcrypto_block_luks_has_format(const uint8_t *buf,* may be different from the cipher length used for the block -* encryption, becauses dm-crypt uses the hash digest length +* encryption, because dm-crypt uses the hash digest length * as the key size. ie, if you have AES 128 as the block cipher
@@ -395,3 +395,3 @@ qcrypto_block_luks_from_disk_endian(QCryptoBlockLUKSHeader *hdr)/* -* Stores the main LUKS header, taking care of endianess +* Stores the main LUKS header, taking care of endianness */
@@ -425,3 +425,3 @@ qcrypto_block_luks_store_header(QCryptoBlock *block,/* -* Loads the main LUKS header,and byteswaps it to native endianess +* Loads the main LUKS header,and byteswaps it to native endianness * And run basic sanity checks on it
crypto/der.c +1 -1
@@ -78,3 +78,3 @@ enum QCryptoDERTagEnc {* @src_len: the length of source data -* @dst: distination to save the encoded 'length', if dst is NULL, only compute +* @dst: destination to save the encoded 'length', if dst is NULL, only compute * the expected buffer size in bytes.
crypto/der.h +3 -3
@@ -251,3 +251,3 @@ void qcrypto_der_encode_octet_str(QCryptoEncodeContext *ctx,* are encoded as an octet string. This is useful when we need to encode a -* encoded SEQUNCE as OCTET STRING. +* encoded SEQUENCE as OCTET STRING. */
@@ -262,3 +262,3 @@ void qcrypto_der_encode_octet_str_begin(QCryptoEncodeContext *ctx);* are encoded as an octet string. This is useful when we need to encode a -* encoded SEQUNCE as OCTET STRING. +* encoded SEQUENCE as OCTET STRING. */
@@ -277,3 +277,3 @@ size_t qcrypto_der_encode_ctx_buffer_len(QCryptoEncodeContext *ctx);* @ctx: the encode context. -* @dst: the distination to save the encoded data, the length of dst should +* @dst: the destination to save the encoded data, the length of dst should * not less than qcrypto_der_encode_cxt_buffer_len
linux-user/elfload.c +1 -1
@@ -2719,3 +2719,3 @@ static void pgb_static(const char *image_name, abi_ulong orig_loaddr,* For a 64-bit host, this is just 4GiB; for a 32-bit host we -* need to ensure there is space bellow the guest_base so we +* need to ensure there is space below the guest_base so we * can map the commpage in the place needed when the address
linux-user/flatload.c +1 -1
@@ -782,3 +782,3 @@ int load_flt_binary(struct linux_binprm *bprm, struct image_info *info) stack_len = bprm->envc + bprm->argc +2 ; - stack_len +=flat_argvp_envp_on_stack () ?2 :0 ;/* arvg, argp */ + stack_len +=flat_argvp_envp_on_stack () ?2 :0 ;/* argv, argp */ stack_len +=1 ;/* argc */
linux-user/syscall.c +3 -3
@@ -838,3 +838,3 @@ abi_long do_brk(abi_ulong brk_val) -/* Release heap if necesary */ +/* Release heap if necessary */ if (new_brk < target_brk) {
@@ -1847,3 +1847,3 @@ static inline abi_long target_to_host_cmsg(struct msghdr *msgh,memcpy (dst, target_data, len); -/* fix endianess of first 32-bit word */ +/* fix endianness of first 32-bit word */ if (len >=sizeof (uint32_t )) {
@@ -2958,3 +2958,3 @@ get_timeout: } -/* swap host endianess to target endianess. */ +/* swap host endianness to target endianness. */ for (i =0 ; i < (len /sizeof (uint32_t )); i++) {
nbd/client-connection.c +1 -1
@@ -199,3 +199,3 @@ static void *connect_thread_func(void *opaque)* of nbd_receive_negotiate() and therefore nbd_connect(). Caller -* shoudn't be interested in these fields. +* shouldn't be interested in these fields. */
net/checksum.c +2 -2
@@ -76,3 +76,3 @@ void net_checksum_calculate(uint8_t *data, int length, int csum_flag) -/* Handle the optionnal VLAN headers */ +/* Handle the optional VLAN headers */ switch (lduw_be_p (&PKT_GET_ETH_HDR (data)->h_proto)) {
@@ -98,3 +98,3 @@ void net_checksum_calculate(uint8_t *data, int length, int csum_flag) -/* Now check we have an IP header (with an optionnal VLAN header) */ +/* Now check we have an IP header (with an optional VLAN header) */ if (length <sizeof (struct ip_header )) {
net/filter.c +2 -2
@@ -94,3 +94,3 @@ ssize_t qemu_netfilter_pass_to_next(NetClientState *sender,* if qemu_netfilter_pass_to_next been called, means that -* the packet has been hold by filter and has already retured size +* the packet has been hold by filter and has already returned size * to the sender, so sent_cb shouldn't be called later, just
@@ -108,3 +108,3 @@ ssize_t qemu_netfilter_pass_to_next(NetClientState *sender,* We have gone through all filters, pass it to receiver. -* Do the valid check again incase sender or receiver been +* Do the valid check again in case sender or receiver been * deleted while we go through filters.
net/vhost-vdpa.c +4 -4
@@ -823,3 +823,3 @@ static int vhost_vdpa_net_load_rx(VhostVDPAState *s,* -* Addtionally, according to VirtIO standard, "Since there are +* Additionally, according to VirtIO standard, "Since there are * no guarantees, it can use a hash filter or silently switch to
@@ -1132,3 +1132,3 @@ static int vhost_vdpa_net_excessive_mac_filter_cvq_add(VhostVDPAState *s,* According to virtio_net_handle_mac(), QEMU doesn't verify the MAC -* addresses provieded in CVQ command. Therefore, only the entries +* addresses provided in CVQ command. Therefore, only the entries * field need to be prepared in the CVQ command.
@@ -1143,3 +1143,3 @@ static int vhost_vdpa_net_excessive_mac_filter_cvq_add(VhostVDPAState *s,* According to virtio_net_handle_mac(), QEMU doesn't verify the MAC -* addresses provieded in CVQ command. Therefore, only the entries +* addresses provided in CVQ command. Therefore, only the entries * field need to be prepared in the CVQ command.
@@ -1204,3 +1204,3 @@ static int vhost_vdpa_net_handle_ctrl_avail(VhostShadowVirtqueue *svq,* Therefore, QEMU must handle this situation instead of sending -* the CVQ command direclty. +* the CVQ command directly. */
semihosting/config.c +1 -1
@@ -10,3 +10,3 @@* -* Semihosting is sightly strange in that it is also supported by some +* Semihosting is slightly strange in that it is also supported by some * linux-user targets. However in that use case no configuration of
semihosting/syscalls.c +2 -2
@@ -722,3 +722,3 @@ void semihost_sys_read_gf(CPUState *cs, gdb_syscall_complete_cb complete,/* -* Bound length for 64-bit guests on 32-bit hosts, not overlowing ssize_t. +* Bound length for 64-bit guests on 32-bit hosts, not overflowing ssize_t. * Note the Linux kernel does this with MAX_RW_COUNT, so it's not a bad
@@ -763,3 +763,3 @@ void semihost_sys_write_gf(CPUState *cs, gdb_syscall_complete_cb complete,/* -* Bound length for 64-bit guests on 32-bit hosts, not overlowing ssize_t. +* Bound length for 64-bit guests on 32-bit hosts, not overflowing ssize_t. * Note the Linux kernel does this with MAX_RW_COUNT, so it's not a bad
softmmu/icount.c +1 -1
@@ -327,3 +327,3 @@ void icount_start_warp_timer(void)* to vCPU was processed in advance and vCPU went to sleep. -* Therefore we have to wake it up for doing someting. +* Therefore we have to wake it up for doing something. */
softmmu/ioport.c +1 -1
@@ -24,3 +24,3 @@/* -* splitted out ioport related stuffs from vl.c. +* split out ioport related stuffs from vl.c. */
stubs/colo.c +1 -1
@@ -23,3 +23,3 @@ void migrate_start_colo_process(MigrationState *s) { -error_report ("Impossible happend: trying to start COLO when COLO " +error_report ("Impossible happened: trying to start COLO when COLO " "module is not built in" );
Signature · 1 line
2.39.2
Quoted 8 lines · Michael Tokarev
This is a set of tree-wide spelling fixes, grouped a little bit, to be a bit easier to manage. Every change has been manually accepted, some needed minor reformatting.
In order to reduce size of the emails, I used `git format-patch -U1' to show less context in diffs.
Quoted 6 lines
This shuold be safe to apply for 8.1, as it does not touch actual code. There are a few message texts touched, mostly error messages.
Michael Tokarev (29):
tree-wide spelling fixes in comments and some messages: block tree-wide spelling fixes in comments and some messages: bsd-user
This would be easier to deal with if it followed our standard convention of putting the subsystem name at the front of the subject line, not the end. As it is, in my email client I have a whole series of emails that look like
"[PATCH 02/29] tree-wide spelling fixes in comments and some m..." "[PATCH 03/29] tree-wide spelling fixes in comments and some m..."
and it's not possible to tell which I might care about reviewing from the list-of-emails pane without clicking through each time...
thanks
-- PMM
14.07.2023 15:44, Peter Maydell wrote:
..
Quoted 7 lines
Quoted 3 lines
Michael Tokarev (29):
tree-wide spelling fixes in comments and some messages: block tree-wide spelling fixes in comments and some messages: bsd-userThis would be easier to deal with if it followed our standard convention of putting the subsystem name at the front of the subject line, not the end.
Well, as usual, good thoughts come after the thing's done already :)
I pushed whole series to my qemu tree clone on gitlab:
https://gitlab.com/mjt0k/qemu/-/commits/spelling
Here, it is actually easier to review because gitlab diff highlights actually changed words in addition to lines.
Quoted 3 lines
and it's not possible to tell which I might care about reviewing from the list-of-emails pane without clicking through each time...
I'm sorry about that. Here I have such window layout so whole subject fits on the screen, and actual message is below the list of messages. I don't think re-sending it is a good idea though.. ;)
Thank you!
/mjt