Skip to contentSkip to conversation

Trivial tree wide typo fixes

PATCH In review Manos Pitsidianakis 12 participants 48 messages Feb 20, 2024 – Feb 21, 2024 RISC-V

lore
Share & tools
lore
#0 lore raw

cover Trivial tree wide typo fixes

Correct typos automatically found with the typos tool
<https://crates.io/crates/typos>

Manos Pitsidianakis (21):
docs: correct typos
tests: correct typos
Xen headers: correct typos
accel/tcg: correct typos
loongson3: correct typos
ppc: correct typos
sh4: correct typos
include/exec/memory.h: correct typos
include/exec/plugin-gen.h: correct typos
hw/arm/omap.h: correct typos
hw/cxl/cxl_device.h: correct typos
hw/net/npcm_gmac.h: correct typos
hw/riscv/virt.h: correct typos
pc-bios/README: correct typos
qapi/ui: correct typos
qemu-options.hx: correct typos
ci/gitlab-pipeline-status: correct typos
hexagon: correct typos
m68k: correct typos
s390x: correct typos
target/sparc: correct typos

 include/exec/memory.h                          | 2 +-
 include/exec/plugin-gen.h                      | 2 +-
 include/hw/arm/omap.h                          | 2 +-
 include/hw/cxl/cxl_device.h                    | 4 ++--
 include/hw/net/npcm_gmac.h                     | 4 ++--
 include/hw/ppc/ppc4xx.h                        | 2 +-
 include/hw/riscv/virt.h                        | 4 ++--
 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            | 4 ++--
 include/hw/xen/interface/io/fbif.h             | 2 +-
 include/hw/xen/interface/io/kbdif.h            | 2 +-
 include/hw/xen/interface/io/ring.h             | 2 +-
 include/hw/xen/interface/memory.h              | 2 +-
 include/hw/xen/interface/physdev.h             | 4 ++--
 include/hw/xen/interface/xen.h                 | 4 ++--
 accel/tcg/ldst_atomicity.c.inc                 | 2 +-
 docs/devel/ci-jobs.rst.inc                     | 2 +-
 docs/devel/docs.rst                            | 2 +-
 docs/devel/testing.rst                         | 2 +-
 docs/interop/prl-xml.txt                       | 2 +-
 docs/interop/vhost-user.rst                    | 2 +-
 docs/system/devices/canokey.rst                | 2 +-
 hw/mips/loongson3_bootp.h                      | 4 ++--
 hw/ppc/ppc405.h                                | 2 +-
 hw/sh4/sh7750_regs.h                           | 2 +-
 pc-bios/README                                 | 2 +-
 qapi/ui.json                                   | 4 ++--
 qemu-options.hx                                | 4 ++--
 scripts/ci/gitlab-pipeline-status              | 2 +-
 target/hexagon/idef-parser/macros.inc          | 2 +-
 target/m68k/cpu.h                              | 7 ++++---
 target/ppc/translate/vmx-impl.c.inc            | 2 +-
 target/s390x/cpu_features_def.h.inc            | 2 +-
 target/sparc/asi.h                             | 8 ++++----
 tests/avocado/acpi-bits/bits-tests/smbios.py2  | 2 +-
 tests/avocado/mem-addr-space-check.py          | 6 +++---
 tests/avocado/reverse_debugging.py             | 2 +-
 41 files changed, 58 insertions(+), 57 deletions(-)

base-commit: da96ad4a6a2ef26c83b15fa95e7fceef5147269c

Signature · 1 line
γαῖα πυρί μιχθήτω
#1 lore raw

PATCH 1/21 docs: correct typos

Correct typos automatically found with the typos tool
<https://crates.io/crates/typos>

---
 docs/devel/ci-jobs.rst.inc      | 2 +-
 docs/devel/docs.rst             | 2 +-
 docs/devel/testing.rst          | 2 +-
 docs/interop/prl-xml.txt        | 2 +-
 docs/interop/vhost-user.rst     | 2 +-
 docs/system/devices/canokey.rst | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)
docs/devel/ci-jobs.rst.inc +1 -1
index 4c39cdb2d9..6678b4f4ef 100644
@@ -147,7 +147,7 @@ Set this variable to 1 to create the pipelines, but leave all
 the jobs to be manually started from the UI
 
 Set this variable to 2 to create the pipelines and run all
-the jobs immediately, as was historicaly behaviour
+the jobs immediately, as was historically behaviour
 
 QEMU_CI_AVOCADO_TESTING
 ~~~~~~~~~~~~~~~~~~~~~~~
docs/devel/docs.rst +1 -1
index 50ff0d67f8..a7768b5311 100644
@@ -21,7 +21,7 @@ are processed in two ways:
 
 The syntax of these ``.hx`` files is simple. It is broadly an
 alternation of C code put into the C output and rST format text
-put into the documention. A few special directives are recognised;
+put into the documentation. A few special directives are recognised;
 these are all-caps and must be at the beginning of the line.
 
 ``HXCOMM`` is the comment marker. The line, including any arbitrary
docs/devel/testing.rst +1 -1
index bd132306c1..aa96eacec5 100644
@@ -728,7 +728,7 @@ For example to setup the HPPA ports builds of Debian::
     EXECUTABLE=(pwd)/qemu-hppa V=1
 
 The ``DEB_`` variables are substitutions used by
-``debian-boostrap.pre`` which is called to do the initial debootstrap
+``debian-bootstrap.pre`` which is called to do the initial debootstrap
 of the rootfs before it is copied into the container. The second stage
 is run as part of the build. The final image will be tagged as
 ``qemu/debian-sid-hppa``.
docs/interop/prl-xml.txt +1 -1
index 7031f8752c..cf9b3fba26 100644
@@ -122,7 +122,7 @@ Each Image element has following child elements:
     * Type - image type of the element. It can be:
              "Plain" for raw files.
              "Compressed" for expanding disks.
-    * File - path to image file. Path can be relative to DiskDecriptor.xml or
+    * File - path to image file. Path can be relative to DiskDescriptor.xml or
              absolute.
 
 == Snapshots element ==
docs/interop/vhost-user.rst +1 -1
index ad6e142f23..d1ed39dfa0 100644
@@ -989,7 +989,7 @@ When reconnecting:
 
    #. If ``d.flags`` is not equal to the calculated flags value (means
       back-end has submitted the buffer to guest driver before crash, so
-      it has to commit the in-progres update), set ``old_free_head``,
+      it has to commit the in-progress update), set ``old_free_head``,
       ``old_used_idx``, ``old_used_wrap_counter`` to ``free_head``,
       ``used_idx``, ``used_wrap_counter``
 
docs/system/devices/canokey.rst +1 -1
index cfa6186e48..7f3664963f 100644
@@ -14,7 +14,7 @@ CanoKey [1]_ is an open-source secure key with supports of
 All these platform-independent features are in canokey-core [3]_.
 
 For different platforms, CanoKey has different implementations,
-including both hardware implementions and virtual cards:
+including both hardware implementations and virtual cards:
 
 * CanoKey STM32 [4]_
 * CanoKey Pigeon [5]_
Signature · 1 line
γαῖα πυρί μιχθήτω
Acked-by on v1 1/21
#3 lore raw

Re: [PATCH v1 01/21] docs: correct typos

In reply to Manos Pitsidianakis
Quoted 4 lines · Manos Pitsidianakis

Correct typos automatically found with the typos tool
<https://crates.io/crates/typos>

Quoted 14 lines
---
 docs/devel/ci-jobs.rst.inc      | 2 +-
 docs/devel/docs.rst             | 2 +-
 docs/devel/testing.rst          | 2 +-
 docs/interop/prl-xml.txt        | 2 +-
 docs/interop/vhost-user.rst     | 2 +-
 docs/system/devices/canokey.rst | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)
docs/devel/ci-jobs.rst.inc +0 -0
index 4c39cdb2d9..6678b4f4ef 100644

docs/devel/ci-jobs.rst.inc Set this variable to 1 to create the pipelines, but leave all · line 150

Quoted 5 lines
docs/devel/ci-jobs.rst.inc +1 -1
@@ -147,7 +147,7 @@ Set this variable to 1 to create the pipelines, but leave all
 the jobs to be manually started from the UI
 
 Set this variable to 2 to create the pipelines and run all
-the jobs immediately, as was historicaly behaviour
+the jobs immediately, as was historically behaviour

as long as we do this let's fix grammar too?

as was historically the behaviour

Quoted 69 lines
docs/devel/ci-jobs.rst.inc +0 -0
 QEMU_CI_AVOCADO_TESTING
 ~~~~~~~~~~~~~~~~~~~~~~~
docs/devel/docs.rst +1 -1
index 50ff0d67f8..a7768b5311 100644
@@ -21,7 +21,7 @@ are processed in two ways:
 
 The syntax of these ``.hx`` files is simple. It is broadly an
 alternation of C code put into the C output and rST format text
-put into the documention. A few special directives are recognised;
+put into the documentation. A few special directives are recognised;
 these are all-caps and must be at the beginning of the line.
 
 ``HXCOMM`` is the comment marker. The line, including any arbitrary
docs/devel/testing.rst +1 -1
index bd132306c1..aa96eacec5 100644
@@ -728,7 +728,7 @@ For example to setup the HPPA ports builds of Debian::
     EXECUTABLE=(pwd)/qemu-hppa V=1
 
 The ``DEB_`` variables are substitutions used by
-``debian-boostrap.pre`` which is called to do the initial debootstrap
+``debian-bootstrap.pre`` which is called to do the initial debootstrap
 of the rootfs before it is copied into the container. The second stage
 is run as part of the build. The final image will be tagged as
 ``qemu/debian-sid-hppa``.
docs/interop/prl-xml.txt +1 -1
index 7031f8752c..cf9b3fba26 100644
@@ -122,7 +122,7 @@ Each Image element has following child elements:
     * Type - image type of the element. It can be:
              "Plain" for raw files.
              "Compressed" for expanding disks.
-    * File - path to image file. Path can be relative to DiskDecriptor.xml or
+    * File - path to image file. Path can be relative to DiskDescriptor.xml or
              absolute.
 
 == Snapshots element ==
docs/interop/vhost-user.rst +1 -1
index ad6e142f23..d1ed39dfa0 100644
@@ -989,7 +989,7 @@ When reconnecting:
 
    #. If ``d.flags`` is not equal to the calculated flags value (means
       back-end has submitted the buffer to guest driver before crash, so
-      it has to commit the in-progres update), set ``old_free_head``,
+      it has to commit the in-progress update), set ``old_free_head``,
       ``old_used_idx``, ``old_used_wrap_counter`` to ``free_head``,
       ``used_idx``, ``used_wrap_counter``
 
docs/system/devices/canokey.rst +1 -1
index cfa6186e48..7f3664963f 100644
@@ -14,7 +14,7 @@ CanoKey [1]_ is an open-source secure key with supports of
 All these platform-independent features are in canokey-core [3]_.
 
 For different platforms, CanoKey has different implementations,
-including both hardware implementions and virtual cards:
+including both hardware implementations and virtual cards:
 
 * CanoKey STM32 [4]_
 * CanoKey Pigeon [5]_
Signature · 1 line
γαῖα πυρί μιχθήτω
#4 lore raw

Re: [PATCH v1 01/21] docs: correct typos

Quoted 24 lines · Michael S. Tsirkin
Quoted 4 lines · Manos Pitsidianakis

Correct typos automatically found with the typos tool
<https://crates.io/crates/typos>

Quoted 16 lines
---
 docs/devel/ci-jobs.rst.inc      | 2 +-
 docs/devel/docs.rst             | 2 +-
 docs/devel/testing.rst          | 2 +-
 docs/interop/prl-xml.txt        | 2 +-
 docs/interop/vhost-user.rst     | 2 +-
 docs/system/devices/canokey.rst | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)
docs/devel/ci-jobs.rst.inc +0 -0
index 4c39cdb2d9..6678b4f4ef 100644
@@ -147,7 +147,7 @@ Set this variable to 1 to create the pipelines, but leave all
 the jobs to be manually started from the UI
 
Quoted 7 lines

docs/devel/ci-jobs.rst.inc Set this variable to 1 to create the pipelines, but leave all · line 150

Quoted 3 lines
docs/devel/ci-jobs.rst.inc +1 -1
 Set this variable to 2 to create the pipelines and run all
-the jobs immediately, as was historicaly behaviour
+the jobs immediately, as was historically behaviour

as long as we do this let's fix grammar too?

as was historically the behaviour

After the fact, I think it should be "as was historical behaviour".

I will re-spin with only this change, and keep the Acks/RoBs if that is okay with everyone.

Thanks,

Quoted 71 lines
Quoted 70 lines
docs/devel/ci-jobs.rst.inc +0 -0
 QEMU_CI_AVOCADO_TESTING
 ~~~~~~~~~~~~~~~~~~~~~~~
docs/devel/docs.rst +1 -1
index 50ff0d67f8..a7768b5311 100644
@@ -21,7 +21,7 @@ are processed in two ways:
 
 The syntax of these ``.hx`` files is simple. It is broadly an
 alternation of C code put into the C output and rST format text
-put into the documention. A few special directives are recognised;
+put into the documentation. A few special directives are recognised;
 these are all-caps and must be at the beginning of the line.
 
 ``HXCOMM`` is the comment marker. The line, including any arbitrary
docs/devel/testing.rst +1 -1
index bd132306c1..aa96eacec5 100644
@@ -728,7 +728,7 @@ For example to setup the HPPA ports builds of Debian::
     EXECUTABLE=(pwd)/qemu-hppa V=1
 
 The ``DEB_`` variables are substitutions used by
-``debian-boostrap.pre`` which is called to do the initial debootstrap
+``debian-bootstrap.pre`` which is called to do the initial debootstrap
 of the rootfs before it is copied into the container. The second stage
 is run as part of the build. The final image will be tagged as
 ``qemu/debian-sid-hppa``.
docs/interop/prl-xml.txt +1 -1
index 7031f8752c..cf9b3fba26 100644
@@ -122,7 +122,7 @@ Each Image element has following child elements:
     * Type - image type of the element. It can be:
              "Plain" for raw files.
              "Compressed" for expanding disks.
-    * File - path to image file. Path can be relative to DiskDecriptor.xml or
+    * File - path to image file. Path can be relative to DiskDescriptor.xml or
              absolute.
 
 == Snapshots element ==
docs/interop/vhost-user.rst +1 -1
index ad6e142f23..d1ed39dfa0 100644
@@ -989,7 +989,7 @@ When reconnecting:
 
    #. If ``d.flags`` is not equal to the calculated flags value (means
       back-end has submitted the buffer to guest driver before crash, so
-      it has to commit the in-progres update), set ``old_free_head``,
+      it has to commit the in-progress update), set ``old_free_head``,
       ``old_used_idx``, ``old_used_wrap_counter`` to ``free_head``,
       ``used_idx``, ``used_wrap_counter``
 
docs/system/devices/canokey.rst +1 -1
index cfa6186e48..7f3664963f 100644
@@ -14,7 +14,7 @@ CanoKey [1]_ is an open-source secure key with supports of
 All these platform-independent features are in canokey-core [3]_.
 
 For different platforms, CanoKey has different implementations,
-including both hardware implementions and virtual cards:
+including both hardware implementations and virtual cards:
 
 * CanoKey STM32 [4]_
 * CanoKey Pigeon [5]_
Signature · 1 line
γαῖα πυρί μιχθήτω
#5 lore raw

Re: [PATCH v1 01/21] docs: correct typos

Quoted 30 lines · Manos Pitsidianakis
Quoted 29 lines · Michael S. Tsirkin
Quoted 4 lines · Manos Pitsidianakis

Correct typos automatically found with the typos tool
<https://crates.io/crates/typos>

Quoted 14 lines
---
 docs/devel/ci-jobs.rst.inc      | 2 +-
 docs/devel/docs.rst             | 2 +-
 docs/devel/testing.rst          | 2 +-
 docs/interop/prl-xml.txt        | 2 +-
 docs/interop/vhost-user.rst     | 2 +-
 docs/system/devices/canokey.rst | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)
docs/devel/ci-jobs.rst.inc +0 -0
index 4c39cdb2d9..6678b4f4ef 100644

docs/devel/ci-jobs.rst.inc Set this variable to 1 to create the pipelines, but leave all · line 149

Quoted 4 lines
docs/devel/ci-jobs.rst.inc +1 -1
@@ -147,7 +147,7 @@ Set this variable to 1 to create the pipelines, but leave all
 the jobs to be manually started from the UI
 Set this variable to 2 to create the pipelines and run all
-the jobs immediately, as was historicaly behaviour
+the jobs immediately, as was historically behaviour

as long as we do this let's fix grammar too?

Quoted 3 lines
Quoted 1 line

as was historically the behaviour

After the fact, I think it should be "as was historical behaviour".

it needs the definite article though.

Quoted 68 lines

I will re-spin with only this change, and keep the Acks/RoBs if that is okay with everyone.

Thanks,

Quoted 63 lines
Quoted 62 lines
docs/devel/ci-jobs.rst.inc +0 -0
 QEMU_CI_AVOCADO_TESTING
 ~~~~~~~~~~~~~~~~~~~~~~~
docs/devel/docs.rst +1 -1
index 50ff0d67f8..a7768b5311 100644
@@ -21,7 +21,7 @@ are processed in two ways:
 The syntax of these ``.hx`` files is simple. It is broadly an
 alternation of C code put into the C output and rST format text
-put into the documention. A few special directives are recognised;
+put into the documentation. A few special directives are recognised;
 these are all-caps and must be at the beginning of the line.
 ``HXCOMM`` is the comment marker. The line, including any arbitrary
docs/devel/testing.rst +1 -1
index bd132306c1..aa96eacec5 100644
@@ -728,7 +728,7 @@ For example to setup the HPPA ports builds of Debian::
     EXECUTABLE=(pwd)/qemu-hppa V=1
 The ``DEB_`` variables are substitutions used by
-``debian-boostrap.pre`` which is called to do the initial debootstrap
+``debian-bootstrap.pre`` which is called to do the initial debootstrap
 of the rootfs before it is copied into the container. The second stage
 is run as part of the build. The final image will be tagged as
 ``qemu/debian-sid-hppa``.
docs/interop/prl-xml.txt +1 -1
index 7031f8752c..cf9b3fba26 100644
@@ -122,7 +122,7 @@ Each Image element has following child elements:
     * Type - image type of the element. It can be:
              "Plain" for raw files.
              "Compressed" for expanding disks.
-    * File - path to image file. Path can be relative to DiskDecriptor.xml or
+    * File - path to image file. Path can be relative to DiskDescriptor.xml or
              absolute.
 == Snapshots element ==
docs/interop/vhost-user.rst +1 -1
index ad6e142f23..d1ed39dfa0 100644
@@ -989,7 +989,7 @@ When reconnecting:
    #. If ``d.flags`` is not equal to the calculated flags value (means
       back-end has submitted the buffer to guest driver before crash, so
-      it has to commit the in-progres update), set ``old_free_head``,
+      it has to commit the in-progress update), set ``old_free_head``,
       ``old_used_idx``, ``old_used_wrap_counter`` to ``free_head``,
       ``used_idx``, ``used_wrap_counter``
docs/system/devices/canokey.rst +1 -2
index cfa6186e48..7f3664963f 100644
@@ -14,7 +14,7 @@ CanoKey [1]_ is an open-source secure key with supports of
 All these platform-independent features are in canokey-core [3]_.
 For different platforms, CanoKey has different implementations,
-including both hardware implementions and virtual cards:
+including both hardware implementations and virtual cards:
 * CanoKey STM32 [4]_
 * CanoKey Pigeon [5]_
-- 

γαῖα πυρί μιχθήτω

#6 lore raw

Re: [PATCH v1 01/21] docs: correct typos

In reply to Manos Pitsidianakis

20.02.2024 13:42, Manos Pitsidianakis wrote:
..

Quoted 9 lines
Quoted 7 lines

docs/devel/ci-jobs.rst.inc Set this variable to 1 to create the pipelines, but leave all · line 150

Quoted 3 lines

 Set this variable to 2 to create the pipelines and run all

docs/devel/ci-jobs.rst.inc +1 -1
-the jobs immediately, as was historicaly behaviour
+the jobs immediately, as was historically behaviour

as long as we do this let's fix grammar too?

as was historically the behaviour

After the fact, I think it should be "as was historical behaviour".

That's exactly what I suggested on IRC right after you sent this patch. Plus "the", so the final version reads

the jobs immediately, as was the historical behaviour

Quoted 1 line

I will re-spin with only this change, and keep the Acks/RoBs if that is okay with everyone.

If that's the only change, let me just pick it all with the above fix, to avoid additional SPAM :)

Either way, I'm picking up this series to trivial-patches@, please resend just the "changed changes" if needs to be.

Thanks,

/mjt

#7 lore raw

PATCH 2/21 tests: correct typos

In reply to Manos Pitsidianakis

Correct typos automatically found with the typos tool
<https://crates.io/crates/typos>

---
 tests/avocado/acpi-bits/bits-tests/smbios.py2 | 2 +-
 tests/avocado/mem-addr-space-check.py         | 6 +++---
 tests/avocado/reverse_debugging.py            | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)
tests/avocado/acpi-bits/bits-tests/smbios.py2 +1 -1
index fc623de072..5868a7137a 100644
@@ -1060,7 +1060,7 @@ class EventLogDescriptor(unpack.Struct):
             0x16: 'Log Area Reset/Cleared',
             0x17: 'System boot',
             xrange(0x18, 0x7F): 'Unused, available for assignment',
-            xrange(0x80, 0xFE): 'Availalbe for system- and OEM-specific assignments',
+            xrange(0x80, 0xFE): 'Available for system- and OEM-specific assignments',
             0xFF: 'End of log'
         }
         yield 'log_type', u.unpack_one('B'), unpack.format_table("{}", _event_log_type_descriptors)
tests/avocado/mem-addr-space-check.py +3 -3
index 363c3f12a6..af019969c0 100644
@@ -165,7 +165,7 @@ def test_phybits_low_tcg_q35_70_amd(self):
         For q35-7.0 machines, "above 4G" memory starts are 4G.
         pci64_hole size is 32 GiB. Since TCG_PHYS_ADDR_BITS is defined to
         be 40, TCG emulated CPUs have maximum of 1 TiB (1024 GiB) of
-        directly addressible memory.
+        directly addressable memory.
         Hence, maxmem value at most can be
         1024 GiB - 4 GiB - 1 GiB per slot for alignment - 32 GiB + 0.5 GiB
         which is equal to 987.5 GiB. Setting the value to 988 GiB should
@@ -190,7 +190,7 @@ def test_phybits_low_tcg_q35_71_amd(self):
         AMD_HT_START is defined to be at 1012 GiB. So for q35 machines
         version > 7.0 and AMD cpus, instead of 1024 GiB limit for 40 bit
         processor address space, it has to be 1012 GiB , that is 12 GiB
-        less than the case above in order to accomodate HT hole.
+        less than the case above in order to accommodate HT hole.
         Make sure QEMU fails when maxmem size is 976 GiB (12 GiB less
         than 988 GiB).
         """
@@ -297,7 +297,7 @@ def test_phybits_ok_tcg_q35_71_amd_41bits(self):
         :avocado: tags=arch:x86_64
 
         AMD processor with 41 bits. Max cpu hw address = 2 TiB.
-        Same as above but by setting maxram beween 976 GiB and 992 Gib,
+        Same as above but by setting maxram between 976 GiB and 992 Gib,
         QEMU should start fine.
         """
         self.vm.add_args('-S', '-cpu', 'EPYC-v4,phys-bits=41',
tests/avocado/reverse_debugging.py +1 -1
index 4cce5a5598..92855a02a5 100644
@@ -191,7 +191,7 @@ def reverse_debugging(self, shift=7, args=None):
         self.check_pc(g, steps[-1])
         logger.info('successfully reached %x' % steps[-1])
 
-        logger.info('exitting gdb and qemu')
+        logger.info('exiting gdb and qemu')
         vm.shutdown()
 
 class ReverseDebugging_X86_64(ReverseDebugging):
Signature · 1 line
γαῖα πυρί μιχθήτω
Reviewed-by on v1 2/21
#8 lore raw

Re: [PATCH v1 02/21] tests: correct typos

Quoted 67 lines · Manos Pitsidianakis

Correct typos automatically found with the typos tool
<https://crates.io/crates/typos>

---
  tests/avocado/acpi-bits/bits-tests/smbios.py2 | 2 +-
  tests/avocado/mem-addr-space-check.py         | 6 +++---
  tests/avocado/reverse_debugging.py            | 2 +-
  3 files changed, 5 insertions(+), 5 deletions(-)
tests/avocado/acpi-bits/bits-tests/smbios.py2 +1 -1
index fc623de072..5868a7137a 100644
@@ -1060,7 +1060,7 @@ class EventLogDescriptor(unpack.Struct):
              0x16: 'Log Area Reset/Cleared',
              0x17: 'System boot',
              xrange(0x18, 0x7F): 'Unused, available for assignment',
-            xrange(0x80, 0xFE): 'Availalbe for system- and OEM-specific assignments',
+            xrange(0x80, 0xFE): 'Available for system- and OEM-specific assignments',
              0xFF: 'End of log'
          }
          yield 'log_type', u.unpack_one('B'), unpack.format_table("{}", _event_log_type_descriptors)
tests/avocado/mem-addr-space-check.py +3 -3
index 363c3f12a6..af019969c0 100644
@@ -165,7 +165,7 @@ def test_phybits_low_tcg_q35_70_amd(self):
          For q35-7.0 machines, "above 4G" memory starts are 4G.
          pci64_hole size is 32 GiB. Since TCG_PHYS_ADDR_BITS is defined to
          be 40, TCG emulated CPUs have maximum of 1 TiB (1024 GiB) of
-        directly addressible memory.
+        directly addressable memory.
          Hence, maxmem value at most can be
          1024 GiB - 4 GiB - 1 GiB per slot for alignment - 32 GiB + 0.5 GiB
          which is equal to 987.5 GiB. Setting the value to 988 GiB should
@@ -190,7 +190,7 @@ def test_phybits_low_tcg_q35_71_amd(self):
          AMD_HT_START is defined to be at 1012 GiB. So for q35 machines
          version > 7.0 and AMD cpus, instead of 1024 GiB limit for 40 bit
          processor address space, it has to be 1012 GiB , that is 12 GiB
-        less than the case above in order to accomodate HT hole.
+        less than the case above in order to accommodate HT hole.
          Make sure QEMU fails when maxmem size is 976 GiB (12 GiB less
          than 988 GiB).
          """
@@ -297,7 +297,7 @@ def test_phybits_ok_tcg_q35_71_amd_41bits(self):
          :avocado: tags=arch:x86_64
 
          AMD processor with 41 bits. Max cpu hw address = 2 TiB.
-        Same as above but by setting maxram beween 976 GiB and 992 Gib,
+        Same as above but by setting maxram between 976 GiB and 992 Gib,
          QEMU should start fine.
          """
          self.vm.add_args('-S', '-cpu', 'EPYC-v4,phys-bits=41',
tests/avocado/reverse_debugging.py +1 -1
index 4cce5a5598..92855a02a5 100644
@@ -191,7 +191,7 @@ def reverse_debugging(self, shift=7, args=None):
          self.check_pc(g, steps[-1])
          logger.info('successfully reached %x' % steps[-1])
 
-        logger.info('exitting gdb and qemu')
+        logger.info('exiting gdb and qemu')
          vm.shutdown()
 
  class ReverseDebugging_X86_64(ReverseDebugging):
#9 lore raw

PATCH 3/21 Xen headers: correct typos

In reply to Manos Pitsidianakis

Correct typos automatically found with the typos tool
<https://crates.io/crates/typos>

---
 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            | 4 ++--
 include/hw/xen/interface/io/fbif.h             | 2 +-
 include/hw/xen/interface/io/kbdif.h            | 2 +-
 include/hw/xen/interface/io/ring.h             | 2 +-
 include/hw/xen/interface/memory.h              | 2 +-
 include/hw/xen/interface/physdev.h             | 4 ++--
 include/hw/xen/interface/xen.h                 | 4 ++--
 12 files changed, 15 insertions(+), 15 deletions(-)
include/hw/xen/interface/arch-x86/xen-x86_64.h +1 -1
index 5d9035ed22..3e94eeb0bf 100644
@@ -89,7 +89,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
index c0f4551247..323bd06a63 100644
@@ -156,7 +156,7 @@ typedef uint64_t tsc_timestamp_t; /* RDTSC timestamp */
  * information in this structure is updated, the fields read include: fpu_ctxt
  * (if VGCT_I387_VALID is set), flags, user_regs and debugreg[*].
  *
- * Note: VCPUOP_initialise for HVM guests is non-symetric with
+ * Note: VCPUOP_initialise for HVM guests is non-symmetric with
  * DOMCTL_setvcpucontext, and uses struct vcpu_hvm_context from hvm/hvm_vcpu.h
  */
 struct vcpu_guest_context {
include/hw/xen/interface/event_channel.h +1 -1
index 0d91a1c4af..d446863230 100644
@@ -302,7 +302,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
index 1dfa17a6d0..7652e8bf81 100644
@@ -607,7 +607,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
index e22adf0319..3defe1c108 100644
@@ -337,7 +337,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 +2 -2
index 22f1eef0c0..4356956975 100644
@@ -42,7 +42,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.
@@ -406,7 +406,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
index 93c73195d8..46046f6775 100644
@@ -72,7 +72,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 refresh.
  */
 #define XENFB_TYPE_REFRESH_PERIOD 1
 #define XENFB_NO_REFRESH 0
include/hw/xen/interface/io/kbdif.h +1 -1
index 4bde6b3821..5794cc33f8 100644
@@ -22,7 +22,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/io/ring.h +1 -1
index 025939278b..6d8f63d7a5 100644
@@ -145,7 +145,7 @@ typedef struct __name##_back_ring __name##_back_ring_t
  *
  * N.B. these macros do NO INTERLOCKS OR FLOW CONTROL.
  * This is OK in 1-for-1 request-response situations where the
- * requestor (front end) never has more than RING_SIZE()-1
+ * requester (front end) never has more than RING_SIZE()-1
  * outstanding requests.
  */
 
include/hw/xen/interface/memory.h +1 -1
index 29cf5c8239..ad11573d90 100644
@@ -167,7 +167,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
index f0c0d4727c..053c045cf5 100644
@@ -206,7 +206,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 {
@@ -332,7 +332,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/xen.h +2 -2
index 920567e006..b8fe746f78 100644
@@ -733,8 +733,8 @@ 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
-     *     such as xenstore).
+     *     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
      *     source.
Signature · 1 line
γαῖα πυρί μιχθήτω
#10 lore raw

Re: [PATCH v1 03/21] Xen headers: correct typos

20.02.2024 11:52, Manos Pitsidianakis пишет:

Quoted 4 lines

Correct typos automatically found with the typos tool
<https://crates.io/crates/typos>

Quoted 14 lines
---
  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            | 4 ++--
  include/hw/xen/interface/io/fbif.h             | 2 +-
  include/hw/xen/interface/io/kbdif.h            | 2 +-
  include/hw/xen/interface/io/ring.h             | 2 +-
  include/hw/xen/interface/memory.h              | 2 +-
  include/hw/xen/interface/physdev.h             | 4 ++--
  include/hw/xen/interface/xen.h                 | 4 ++--
  12 files changed, 15 insertions(+), 15 deletions(-)

include/hw/xen/ is imported from xen, IIRC it should not be edited directly in qemu.

/mjt

#11 lore raw

PATCH 4/21 accel/tcg: correct typos

In reply to Manos Pitsidianakis

Correct typos automatically found with the typos tool
<https://crates.io/crates/typos>

---
 accel/tcg/ldst_atomicity.c.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
accel/tcg/ldst_atomicity.c.inc +1 -1
index 33a04dec52..97dae70d53 100644
@@ -76,7 +76,7 @@ static int required_atomicity(CPUState *cpu, uintptr_t p, MemOp memop)
         /*
          * Examine the alignment of p to determine if there are subobjects
          * that must be aligned.  Note that we only really need ctz4() --
-         * any more sigificant bits are discarded by the immediately
+         * any more significant bits are discarded by the immediately
          * following comparison.
          */
         tmp = ctz32(p);
Signature · 1 line
γαῖα πυρί μιχθήτω
#14 lore raw

PATCH 5/21 loongson3: correct typos

In reply to Manos Pitsidianakis

Correct typos automatically found with the typos tool
<https://crates.io/crates/typos>

---
 hw/mips/loongson3_bootp.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
hw/mips/loongson3_bootp.h +2 -2
index d525ab745a..1b0dd3b591 100644
@@ -25,7 +25,7 @@
 struct efi_memory_map_loongson {
     uint16_t vers;               /* version of efi_memory_map */
     uint32_t nr_map;             /* number of memory_maps */
-    uint32_t mem_freq;           /* memory frequence */
+    uint32_t mem_freq;           /* memory frequency */
     struct mem_map {
         uint32_t node_id;        /* node_id which memory attached to */
         uint32_t mem_type;       /* system memory, pci memory, pci io, etc. */
@@ -156,7 +156,7 @@ struct board_devices {
 
 struct loongson_special_attribute {
     uint16_t vers;               /* version of this special */
-    char special_name[64];       /* special_atribute_name */
+    char special_name[64];       /* special_attribute_name */
     uint32_t loongson_special_type; /* type of special device */
     /* for each device's resource */
     struct resource_loongson resource[MAX_RESOURCE_NUMBER];
Signature · 1 line
γαῖα πυρί μιχθήτω
#15 lore raw

PATCH 6/21 ppc: correct typos

In reply to Manos Pitsidianakis

Correct typos automatically found with the typos tool
<https://crates.io/crates/typos>

---
 include/hw/ppc/ppc4xx.h             | 2 +-
 hw/ppc/ppc405.h                     | 2 +-
 target/ppc/translate/vmx-impl.c.inc | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
include/hw/ppc/ppc4xx.h +1 -1
index ea7740239b..c4ecb1652f 100644
@@ -75,7 +75,7 @@ struct Ppc4xxMalState {
     uint8_t  rxcnum;
 };
 
-/* Peripheral local bus arbitrer */
+/* Peripheral local bus arbiter */
 #define TYPE_PPC4xx_PLB "ppc4xx-plb"
 OBJECT_DECLARE_SIMPLE_TYPE(Ppc4xxPlbState, PPC4xx_PLB);
 struct Ppc4xxPlbState {
hw/ppc/ppc405.h +1 -1
index 9a4312691e..a39f0caea1 100644
@@ -41,7 +41,7 @@ struct Ppc405PobState {
     uint32_t besr1;
 };
 
-/* OPB arbitrer */
+/* OPB arbiter */
 #define TYPE_PPC405_OPBA "ppc405-opba"
 OBJECT_DECLARE_SIMPLE_TYPE(Ppc405OpbaState, PPC405_OPBA);
 struct Ppc405OpbaState {
target/ppc/translate/vmx-impl.c.inc +1 -1
index 4b91c3489d..b56e615c24 100644
@@ -1183,7 +1183,7 @@ static void glue(gen_, name)(DisasContext *ctx)                         \
 
 /*
  * Support for Altivec instructions that use bit 31 (Rc) as an opcode
- * bit but also use bit 21 as an actual Rc bit.  In general, thse pairs
+ * bit but also use bit 21 as an actual Rc bit.  In general, these pairs
  * come from different versions of the ISA, so we must also support a
  * pair of flags for each instruction.
  */
Signature · 1 line
γαῖα πυρί μιχθήτω
#16 lore raw

Re: [PATCH v1 06/21] ppc: correct typos

Quoted 28 lines · Manos Pitsidianakis

Correct typos automatically found with the typos tool
<https://crates.io/crates/typos>

---

include/hw/ppc/ppc4xx.h             | 2 +-
hw/ppc/ppc405.h                     | 2 +-
target/ppc/translate/vmx-impl.c.inc | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
include/hw/ppc/ppc4xx.h +1 -1
index ea7740239b..c4ecb1652f 100644
@@ -75,7 +75,7 @@ struct Ppc4xxMalState {
    uint8_t  rxcnum;
 };
 
-/* Peripheral local bus arbitrer */
+/* Peripheral local bus arbiter */
 #define TYPE_PPC4xx_PLB "ppc4xx-plb"
 OBJECT_DECLARE_SIMPLE_TYPE(Ppc4xxPlbState, PPC4xx_PLB);
 struct Ppc4xxPlbState {
hw/ppc/ppc405.h +0 -0
index 9a4312691e..a39f0caea1 100644

hw/ppc/ppc405.h struct Ppc405PobState { · line 44

Quoted 5 lines
hw/ppc/ppc405.h +1 -1
@@ -41,7 +41,7 @@ struct Ppc405PobState {
    uint32_t besr1;
 };
 
-/* OPB arbitrer */
+/* OPB arbiter */

These two aren't actually typos. The PPC docs call it that. Somebody tried to fix these before but this spelling is also valid and what is used in the docs.

target/ppc/translate/vmx-impl.c.inc static void glue(gen_, name)(DisasContext *ctx) \ · line 1186

Quoted 13 lines
hw/ppc/ppc405.h +0 -0
 #define TYPE_PPC405_OPBA "ppc405-opba"
 OBJECT_DECLARE_SIMPLE_TYPE(Ppc405OpbaState, PPC405_OPBA);
 struct Ppc405OpbaState {
target/ppc/translate/vmx-impl.c.inc +1 -1
index 4b91c3489d..b56e615c24 100644
@@ -1183,7 +1183,7 @@ static void glue(gen_, name)(DisasContext *ctx)                         \
 
 /*
 * Support for Altivec instructions that use bit 31 (Rc) as an opcode
- * bit but also use bit 21 as an actual Rc bit.  In general, thse pairs
+ * bit but also use bit 21 as an actual Rc bit.  In general, these pairs

This one is a typo.

Regards,
BALATON Zoltan

Quoted 4 lines
target/ppc/translate/vmx-impl.c.inc +0 -0
 * come from different versions of the ISA, so we must also support a
 * pair of flags for each instruction.
 */
#17 lore raw

PATCH 7/21 sh4: correct typos

In reply to Manos Pitsidianakis

Correct typos automatically found with the typos tool
<https://crates.io/crates/typos>

---
 hw/sh4/sh7750_regs.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
hw/sh4/sh7750_regs.h +1 -1
index edb5d18f00..946ad7b3aa 100644
@@ -172,7 +172,7 @@
 
 
 /*
- * Exeption-related registers
+ * Exception-related registers
  */
 
 /* Immediate data for TRAPA instruction - TRA */
Signature · 1 line
γαῖα πυρί μιχθήτω
Reviewed-by on v1 7/21
#19 lore raw

Re: [PATCH v1 07/21] sh4: correct typos

In reply to Manos Pitsidianakis
Quoted 25 lines · Manos Pitsidianakis

Correct typos automatically found with the typos tool
<https://crates.io/crates/typos>

---
 hw/sh4/sh7750_regs.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
hw/sh4/sh7750_regs.h +1 -1
index edb5d18f00..946ad7b3aa 100644
@@ -172,7 +172,7 @@
 
 
 /*
- * Exeption-related registers
+ * Exception-related registers
  */
 
 /* Immediate data for TRAPA instruction - TRA */
Signature · 1 line
γαῖα πυρί μιχθήτω
Signature · 1 line
Yosinori Sato
#20 lore raw

PATCH 8/21 include/exec/memory.h: correct typos

In reply to Manos Pitsidianakis

Correct typos automatically found with the typos tool
<https://crates.io/crates/typos>

---
 include/exec/memory.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/exec/memory.h +1 -1
index 177be23db7..8626a355b3 100644
@@ -3146,7 +3146,7 @@ int ram_block_discard_require(bool state);
 
 /*
  * See ram_block_discard_require(): only inhibit technologies that disable
- * uncoordinated discarding of pages in RAM blocks, allowing co-existance with
+ * uncoordinated discarding of pages in RAM blocks, allowing co-existence with
  * technologies that only inhibit uncoordinated discards (via the
  * RamDiscardManager).
  */
Signature · 1 line
γαῖα πυρί μιχθήτω
#22 lore raw

PATCH 9/21 include/exec/plugin-gen.h: correct typos

In reply to Manos Pitsidianakis

Correct typos automatically found with the typos tool
<https://crates.io/crates/typos>

---
 include/exec/plugin-gen.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/exec/plugin-gen.h +1 -1
index c4552b5061..b18edd6ab4 100644
@@ -19,7 +19,7 @@ struct DisasContextBase;
 #ifdef CONFIG_PLUGIN
 
 bool plugin_gen_tb_start(CPUState *cpu, const struct DisasContextBase *db,
-                         bool supress);
+                         bool suppress);
 void plugin_gen_tb_end(CPUState *cpu, size_t num_insns);
 void plugin_gen_insn_start(CPUState *cpu, const struct DisasContextBase *db);
 void plugin_gen_insn_end(void);
Signature · 1 line
γαῖα πυρί μιχθήτω
#23 lore raw

Re: [PATCH v1 09/21] include/exec/plugin-gen.h: correct typos

Quoted 13 lines · Manos Pitsidianakis

Correct typos automatically found with the typos tool
<https://crates.io/crates/typos>

---
  include/exec/plugin-gen.h | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
include/exec/plugin-gen.h +0 -0
index c4552b5061..b18edd6ab4 100644

include/exec/plugin-gen.h struct DisasContextBase; · line 22

Quoted 5 lines
include/exec/plugin-gen.h +1 -1
@@ -19,7 +19,7 @@ struct DisasContextBase;
  #ifdef CONFIG_PLUGIN
 
  bool plugin_gen_tb_start(CPUState *cpu, const struct DisasContextBase *db,
-                         bool supress);
+                         bool suppress);

Could we keep the definition in sync?

accel/tcg/plugin-gen.c:794:bool plugin_gen_tb_start(CPUState *cpu, const DisasContextBase *db,
accel/tcg/plugin-gen.c-795- bool mem_only)

#24 lore raw

PATCH 10/21 hw/arm/omap.h: correct typos

In reply to Manos Pitsidianakis

Correct typos automatically found with the typos tool
<https://crates.io/crates/typos>

---
 include/hw/arm/omap.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/hw/arm/omap.h +1 -1
index 067e9419f7..2f59220c0e 100644
@@ -1008,7 +1008,7 @@ void omap_mpu_wakeup(void *opaque, int irq, int req);
                       __func__, paddr)
 
 /* OMAP-specific Linux bootloader tags for the ATAG_BOARD area
-   (Board-specifc tags are not here)  */
+   (Board-specific tags are not here)  */
 #define OMAP_TAG_CLOCK		0x4f01
 #define OMAP_TAG_MMC		0x4f02
 #define OMAP_TAG_SERIAL_CONSOLE	0x4f03
Signature · 1 line
γαῖα πυρί μιχθήτω
Reviewed-by on v1 10/21
#25 lore raw

Re: [PATCH v1 10/21] hw/arm/omap.h: correct typos

Quoted 13 lines · Manos Pitsidianakis

Correct typos automatically found with the typos tool
<https://crates.io/crates/typos>

---
  include/hw/arm/omap.h | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
include/hw/arm/omap.h +0 -0
index 067e9419f7..2f59220c0e 100644

include/hw/arm/omap.h void omap_mpu_wakeup(void *opaque, int irq, int req); · line 1011

Quoted 5 lines
include/hw/arm/omap.h +1 -1
@@ -1008,7 +1008,7 @@ void omap_mpu_wakeup(void *opaque, int irq, int req);
                        __func__, paddr)
 
  /* OMAP-specific Linux bootloader tags for the ATAG_BOARD area
-   (Board-specifc tags are not here)  */
+   (Board-specific tags are not here)  */

Unfortunately you need to update the comment style, otherwise this patch doesn't pass ./scripts/checkpatch.pl.

With this fixed:

Thanks!

#26 lore raw

PATCH 11/21 hw/cxl/cxl_device.h: correct typos

In reply to Manos Pitsidianakis

Correct typos automatically found with the typos tool
<https://crates.io/crates/typos>

---
 include/hw/cxl/cxl_device.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
include/hw/cxl/cxl_device.h +2 -2
index d8e184c4ba..279b276bda 100644
@@ -268,7 +268,7 @@ void cxl_event_set_status(CXLDeviceState *cxl_dstate, CXLEventLogType log_type,
 /*
  * Helper macro to initialize capability headers for CXL devices.
  *
- * In CXL r3.1 Section 8.2.8.2: CXL Device Capablity Header Register, this is
+ * In CXL r3.1 Section 8.2.8.2: CXL Device Capability Header Register, this is
  * listed as a 128b register, but in CXL r3.1 Section 8.2.8: CXL Device Register
  * Interface, it says:
  * > No registers defined in Section 8.2.8 are larger than 64-bits wide so that
@@ -276,7 +276,7 @@ void cxl_event_set_status(CXLDeviceState *cxl_dstate, CXLEventLogType log_type,
  * > followed, the behavior is undefined.
  *
  * > To illustrate how the fields fit together, the layouts ... are shown as
- * > wider than a 64 bit register. Implemenations are expected to use any size
+ * > wider than a 64 bit register. Implementations are expected to use any size
  * > accesses for this information up to 64 bits without lost of functionality
  *
  * Here we've chosen to make it 4 dwords.
Signature · 1 line
γαῖα πυρί μιχθήτω
#27 lore raw

PATCH 12/21 hw/net/npcm_gmac.h: correct typos

In reply to Manos Pitsidianakis

Correct typos automatically found with the typos tool
<https://crates.io/crates/typos>

---
 include/hw/net/npcm_gmac.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
include/hw/net/npcm_gmac.h +2 -2
index f2d9f08ec1..6340ffe92c 100644
@@ -81,7 +81,7 @@ struct NPCMGMACRxDesc {
 
 /* Disable Interrupt on Completion */
 #define RX_DESC_RDES1_DIS_INTR_COMP_MASK BIT(31)
-/* Recieve end of ring */
+/* Receive end of ring */
 #define RX_DESC_RDES1_RC_END_RING_MASK BIT(25)
 /* Second Address Chained */
 #define RX_DESC_RDES1_SEC_ADDR_CHND_MASK BIT(24)
@@ -213,7 +213,7 @@ OBJECT_DECLARE_SIMPLE_TYPE(NPCMGMACState, NPCM_GMAC)
 #define NPCM_DMA_STATUS_FBI BIT(13)
 /* Early transmit Interrupt */
 #define NPCM_DMA_STATUS_ETI BIT(10)
-/* Receive Watchdog Timout */
+/* Receive Watchdog Timeout */
 #define NPCM_DMA_STATUS_RWT BIT(9)
 /* Receive Process Stopped */
 #define NPCM_DMA_STATUS_RPS BIT(8)
Signature · 1 line
γαῖα πυρί μιχθήτω
#28 lore raw

PATCH 13/21 hw/riscv/virt.h: correct typos

In reply to Manos Pitsidianakis

Correct typos automatically found with the typos tool
<https://crates.io/crates/typos>

---
 include/hw/riscv/virt.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
include/hw/riscv/virt.h +2 -2
index f89790fd58..3db839160f 100644
@@ -144,13 +144,13 @@ uint32_t imsic_num_bits(uint32_t count);
 #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
 
 #endif
Signature · 1 line
γαῖα πυρί μιχθήτω
Reviewed-by on v1 13/21
#29 lore raw

Re: [PATCH v1 13/21] hw/riscv/virt.h: correct typos

Quoted 5 lines · Manos Pitsidianakis

Correct typos automatically found with the typos tool
<https://crates.io/crates/typos>

Alistair

Quoted 28 lines
---
 include/hw/riscv/virt.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
include/hw/riscv/virt.h +2 -3
index f89790fd58..3db839160f 100644
@@ -144,13 +144,13 @@ uint32_t imsic_num_bits(uint32_t count);
 #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
 
 #endif
--

γαῖα πυρί μιχθήτω

#30 lore raw

PATCH 14/21 pc-bios/README: correct typos

In reply to Manos Pitsidianakis

Correct typos automatically found with the typos tool
<https://crates.io/crates/typos>

---
 pc-bios/README | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
pc-bios/README +1 -1
index 4189bb28cc..b8a0210d24 100644
@@ -67,7 +67,7 @@
   and enable the use of well-known bootloaders such as U-Boot.
   OpenSBI is distributed under the terms of the BSD 2-clause license
   ("Simplified BSD License" or "FreeBSD License", SPDX: BSD-2-Clause). OpenSBI
-  source code also contains code reused from other projects desribed here:
+  source code also contains code reused from other projects described here:
   https://github.com/riscv/opensbi/blob/master/ThirdPartyNotices.md.
 
 - npcm7xx_bootrom.bin is a simplified, free (Apache 2.0) boot ROM for Nuvoton
Signature · 1 line
γαῖα πυρί μιχθήτω
#32 lore raw

PATCH 15/21 qapi/ui: correct typos

In reply to Manos Pitsidianakis

Correct typos automatically found with the typos tool
<https://crates.io/crates/typos>

---
 qapi/ui.json | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
qapi/ui.json +2 -2
index b6d7e142b7..1448eaca73 100644
@@ -63,7 +63,7 @@
 ##
 # @SetPasswordOptionsVnc:
 #
-# Options for set_password specific to the VNC procotol.
+# Options for set_password specific to the VNC protocol.
 #
 # @display: The id of the display where the password should be
 #     changed.  Defaults to the first.
@@ -125,7 +125,7 @@
 ##
 # @ExpirePasswordOptionsVnc:
 #
-# Options for expire_password specific to the VNC procotol.
+# Options for expire_password specific to the VNC protocol.
 #
 # @display: The id of the display where the expiration should be
 #     changed.  Defaults to the first.
Signature · 1 line
γαῖα πυρί μιχθήτω
Reviewed-by on v1 15/21
#33 lore raw

Re: [PATCH v1 15/21] qapi/ui: correct typos

Quoted 22 lines · Manos Pitsidianakis

Correct typos automatically found with the typos tool
<https://crates.io/crates/typos>

---
 qapi/ui.json | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
qapi/ui.json +1 -1
index b6d7e142b7..1448eaca73 100644
@@ -63,7 +63,7 @@
 ##
 # @SetPasswordOptionsVnc:
 #
-# Options for set_password specific to the VNC procotol.
+# Options for set_password specific to the VNC protocol.
 #
 # @display: The id of the display where the password should be
 #     changed.  Defaults to the first.

qapi/ui.json line 131

Quoted 8 lines
qapi/ui.json +1 -1
@@ -125,7 +125,7 @@
 ##
 # @ExpirePasswordOptionsVnc:
 #
-# Options for expire_password specific to the VNC procotol.
+# Options for expire_password specific to the VNC protocol.
 #
 # @display: The id of the display where the expiration should be
 #     changed.  Defaults to the first.
#34 lore raw

Re: [PATCH v1 15/21] qapi/ui: correct typos

Quoted 21 lines · Markus Armbruster
Quoted 19 lines · Manos Pitsidianakis

Correct typos automatically found with the typos tool
<https://crates.io/crates/typos>

---
  qapi/ui.json | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
qapi/ui.json +1 -1
index b6d7e142b7..1448eaca73 100644
@@ -63,7 +63,7 @@
  ##
  # @SetPasswordOptionsVnc:
  #
-# Options for set_password specific to the VNC procotol.
+# Options for set_password specific to the VNC protocol.
  #
Quoted 8 lines

qapi/ui.json line 128

Quoted 8 lines
qapi/ui.json +1 -1
  # @display: The id of the display where the password should be
  #     changed.  Defaults to the first.
@@ -125,7 +125,7 @@
  ##
  # @ExpirePasswordOptionsVnc:
  #
-# Options for expire_password specific to the VNC procotol.
+# Options for expire_password specific to the VNC protocol.

Too bad, I remember reading few times the procotol, it was funny.

Quoted 7 lines

qapi/ui.json line 131

Quoted 3 lines
qapi/ui.json +0 -0
  #
  # @display: The id of the display where the expiration should be
  #     changed.  Defaults to the first.
#35 lore raw

PATCH 16/21 qemu-options.hx: correct typos

In reply to Manos Pitsidianakis

Correct typos automatically found with the typos tool
<https://crates.io/crates/typos>

---
 qemu-options.hx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
qemu-options.hx +2 -2
index 8547254dbf..9be1e5817c 100644
@@ -2468,7 +2468,7 @@ SRST
 
     ``to=L``
         With this option, QEMU will try next available VNC displays,
-        until the number L, if the origianlly defined "-vnc display" is
+        until the number L, if the originally defined "-vnc display" is
         not available, e.g. port 5900+display is already used by another
         application. By default, to=0.
 
@@ -5511,7 +5511,7 @@ SRST
             -object filter-redirector,netdev=hn0,id=redire0,queue=rx,indev=compare_out
             -object filter-redirector,netdev=hn0,id=redire1,queue=rx,outdev=compare0
             -object iothread,id=iothread1
-            -object colo-compare,id=comp0,primary_in=compare0-0,secondary_in=compare1,outdev=compare_out0,notify_dev=nofity_way,iothread=iothread1
+            -object colo-compare,id=comp0,primary_in=compare0-0,secondary_in=compare1,outdev=compare_out0,notify_dev=notify_way,iothread=iothread1
 
             secondary:
             -netdev tap,id=hn0,vhost=off
Signature · 1 line
γαῖα πυρί μιχθήτω
#36 lore raw

PATCH 17/21 ci/gitlab-pipeline-status: correct typos

In reply to Manos Pitsidianakis

Correct typos automatically found with the typos tool
<https://crates.io/crates/typos>

---
 scripts/ci/gitlab-pipeline-status | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/ci/gitlab-pipeline-status +1 -1
index e3343b0510..39f3c22c66 100755
@@ -131,7 +131,7 @@ def create_parser():
                               'checks of the pipeline status.  Defaults '
                               'to %(default)s'))
     parser.add_argument('-w', '--wait', action='store_true', default=False,
-                        help=('Wether to wait, instead of checking only once '
+                        help=('Whether to wait, instead of checking only once '
                               'the status of a pipeline'))
     parser.add_argument('-p', '--project-id', type=int, default=11167699,
                         help=('The GitLab project ID. Defaults to the project '
Signature · 1 line
γαῖα πυρί μιχθήτω
#37 lore raw

PATCH 18/21 hexagon: correct typos

In reply to Manos Pitsidianakis

Correct typos automatically found with the typos tool
<https://crates.io/crates/typos>

---
 target/hexagon/idef-parser/macros.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
target/hexagon/idef-parser/macros.inc +1 -1
index 7478d4db17..94975d9583 100644
@@ -127,5 +127,5 @@
 /* Include fHIDE macros which hide type declarations */
 #define fHIDE(A) A
 
-/* Purge non-relavant parts */
+/* Purge non-relevant parts */
 #define fBRANCH_SPECULATE_STALL(A, B, C, D, E)
Signature · 1 line
γαῖα πυρί μιχθήτω
Reviewed-by Anton Johansson
#39 lore raw

Re: [PATCH v1 18/21] hexagon: correct typos

Quoted 4 lines · Philippe Mathieu-Daudé
Quoted 3 lines · Manos Pitsidianakis

Correct typos automatically found with the typos tool
<https://crates.io/crates/typos>

Quoted 8 lines
Quoted 4 lines
---
  target/hexagon/idef-parser/macros.inc | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

Ah nice, havent seen the typos tool before!

#40 lore raw

PATCH 19/21 m68k: correct typos

In reply to Manos Pitsidianakis

Correct typos automatically found with the typos tool
<https://crates.io/crates/typos>

---
 target/m68k/cpu.h | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
target/m68k/cpu.h +4 -3
index aca4aa610b..57e3b6d3ce 100644
@@ -478,10 +478,11 @@ void do_m68k_semihosting(CPUM68KState *env, int nr);
  * The 68000 family is defined in six main CPU classes, the 680[012346]0.
  * Generally each successive CPU adds enhanced data/stack/instructions.
  * However, some features are only common to one, or a few classes.
- * The features covers those subsets of instructons.
+ * The features covers those subsets of instructions.
  *
- * CPU32/32+ are basically 680010 compatible with some 68020 class instructons,
- * and some additional CPU32 instructions. Mostly Supervisor state differences.
+ * CPU32/32+ are basically 680010 compatible with some 68020 class
+ * instructions, and some additional CPU32 instructions. Mostly Supervisor
+ * state differences.
  *
  * The ColdFire core ISA is a RISC-style reduction of the 68000 series cpu.
  * There are 4 ColdFire core ISA revisions: A, A+, B and C.
Signature · 1 line
γαῖα πυρί μιχθήτω
#41 lore raw

Re: [PATCH v1 19/21] m68k: correct typos

Quoted 13 lines · Manos Pitsidianakis

Correct typos automatically found with the typos tool
<https://crates.io/crates/typos>

---
  target/m68k/cpu.h | 7 ++++---
  1 file changed, 4 insertions(+), 3 deletions(-)
target/m68k/cpu.h +0 -0
index aca4aa610b..57e3b6d3ce 100644

target/m68k/cpu.h void do_m68k_semihosting(CPUM68KState *env, int nr); · line 481

Quoted 5 lines
target/m68k/cpu.h +1 -1
@@ -478,10 +478,11 @@ void do_m68k_semihosting(CPUM68KState *env, int nr);
   * The 68000 family is defined in six main CPU classes, the 680[012346]0.
   * Generally each successive CPU adds enhanced data/stack/instructions.
   * However, some features are only common to one, or a few classes.
- * The features covers those subsets of instructons.
+ * The features covers those subsets of instructions.

While you're at it, please also remove the "s" from "covers".

Thomas

#42 lore raw

PATCH 20/21 s390x: correct typos

In reply to Manos Pitsidianakis

Correct typos automatically found with the typos tool
<https://crates.io/crates/typos>

---
 target/s390x/cpu_features_def.h.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
target/s390x/cpu_features_def.h.inc +1 -1
index e68da9b8ff..c53ac13352 100644
@@ -142,7 +142,7 @@ DEF_FEAT(SIE_CEI, "cei", SCLP_CPU, 43, "SIE: Conditional-external-interception f
 
 /*
  * Features exposed via no feature bit (but e.g., instruction sensing)
- * -> the feature bit number is irrelavant
+ * -> the feature bit number is irrelevant
  */
 DEF_FEAT(DAT_ENH_2, "dateh2", MISC, 0, "DAT-enhancement facility 2")
 DEF_FEAT(CMM, "cmm", MISC, 0, "Collaborative-memory-management facility")
Signature · 1 line
γαῖα πυρί μιχθήτω
Reviewed-by on v1 20/21
#43 lore raw

Re: [PATCH v1 20/21] s390x: correct typos

Quoted 13 lines · Manos Pitsidianakis

Correct typos automatically found with the typos tool
<https://crates.io/crates/typos>

---
  target/s390x/cpu_features_def.h.inc | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
target/s390x/cpu_features_def.h.inc +0 -0
index e68da9b8ff..c53ac13352 100644

target/s390x/cpu_features_def.h.inc DEF_FEAT(SIE_CEI, "cei", SCLP_CPU, 43, "SIE: Conditional-external-interception f · line 148

Quoted 8 lines
target/s390x/cpu_features_def.h.inc +1 -1
@@ -142,7 +142,7 @@ DEF_FEAT(SIE_CEI, "cei", SCLP_CPU, 43, "SIE: Conditional-external-interception f
 
  /*
   * Features exposed via no feature bit (but e.g., instruction sensing)
- * -> the feature bit number is irrelavant
+ * -> the feature bit number is irrelevant
   */
  DEF_FEAT(DAT_ENH_2, "dateh2", MISC, 0, "DAT-enhancement facility 2")
  DEF_FEAT(CMM, "cmm", MISC, 0, "Collaborative-memory-management facility")
#45 lore raw

PATCH 21/21 target/sparc: correct typos

In reply to Manos Pitsidianakis

Correct typos automatically found with the typos tool
<https://crates.io/crates/typos>

---
 target/sparc/asi.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
target/sparc/asi.h +4 -4
index 3270ed0c7f..a66829674b 100644
@@ -145,14 +145,14 @@
  * and later ASIs.
  */
 #define ASI_REAL                0x14 /* Real address, cacheable          */
-#define ASI_PHYS_USE_EC		0x14 /* PADDR, E-cachable		*/
-#define ASI_REAL_IO             0x15 /* Real address, non-cachable      */
+#define ASI_PHYS_USE_EC		0x14 /* PADDR, E-cacheable		*/
+#define ASI_REAL_IO             0x15 /* Real address, non-cacheable      */
 #define ASI_PHYS_BYPASS_EC_E	0x15 /* PADDR, E-bit			*/
 #define ASI_BLK_AIUP_4V		0x16 /* (4V) Prim, user, block ld/st	*/
 #define ASI_BLK_AIUS_4V		0x17 /* (4V) Sec, user, block ld/st	*/
 #define ASI_REAL_L              0x1c /* Real address, cacheable, LE      */
-#define ASI_PHYS_USE_EC_L	0x1c /* PADDR, E-cachable, little endian*/
-#define ASI_REAL_IO_L           0x1d /* Real address, non-cachable, LE  */
+#define ASI_PHYS_USE_EC_L	0x1c /* PADDR, E-cacheable, little endian*/
+#define ASI_REAL_IO_L           0x1d /* Real address, non-cacheable, LE  */
 #define ASI_PHYS_BYPASS_EC_E_L	0x1d /* PADDR, E-bit, little endian	*/
 #define ASI_BLK_AIUP_L_4V	0x1e /* (4V) Prim, user, block, l-endian*/
 #define ASI_BLK_AIUS_L_4V	0x1f /* (4V) Sec, user, block, l-endian	*/
Signature · 1 line
γαῖα πυρί μιχθήτω
#47 lore raw
In reply to Manos Pitsidianakis

20.02.2024 11:52, Manos Pitsidianakis wrote:
..

So I picked up this series, to reduce the list SPAM. With the following details:

Quoted 1 line

docs: correct typos

fixed "the historical behaviour"
(why my spell checker continues marking "behaviour"?

Quoted 2 lines

tests: correct typos
Xen headers: correct typos

*not* picked up

Quoted 3 lines

accel/tcg: correct typos
loongson3: correct typos
ppc: correct typos

remove 2 hooks "arbitrer" as suggested by BALATON

Quoted 3 lines

sh4: correct typos
include/exec/memory.h: correct typos
include/exec/plugin-gen.h: correct typos

*not* picked up

Quoted 1 line

hw/arm/omap.h: correct typos

fix comment style

Quoted 9 lines

hw/cxl/cxl_device.h: correct typos
hw/net/npcm_gmac.h: correct typos
hw/riscv/virt.h: correct typos
pc-bios/README: correct typos
qapi/ui: correct typos
qemu-options.hx: correct typos
ci/gitlab-pipeline-status: correct typos
hexagon: correct typos
m68k: correct typos

correct "covers" as suggested by Thomas

Quoted 2 lines

s390x: correct typos
target/sparc: correct typos