* [kvm-unit-tests PATCH] arm: Fix typos
@ 2022-03-11 17:08 Thomas Huth
2022-03-14 8:41 ` Andrew Jones
0 siblings, 1 reply; 2+ messages in thread
From: Thomas Huth @ 2022-03-11 17:08 UTC (permalink / raw)
To: Andrew Jones, kvm; +Cc: kvmarm
Correct typos which were discovered with the "codespell" utility.
Signed-off-by: Thomas Huth <thuth@redhat.com>
---
arm/cstart.S | 2 +-
arm/gic.c | 2 +-
arm/micro-bench.c | 2 +-
lib/arm64/asm/assembler.h | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/arm/cstart.S b/arm/cstart.S
index 2401d92..7036e67 100644
--- a/arm/cstart.S
+++ b/arm/cstart.S
@@ -44,7 +44,7 @@ start:
/*
* set stack, making room at top of stack for cpu0's
- * exception stacks. Must start wtih stackptr, not
+ * exception stacks. Must start with stackptr, not
* stacktop, so the thread size masking (shifts) work.
*/
ldr sp, =stackptr
diff --git a/arm/gic.c b/arm/gic.c
index 1e3ea80..60457e2 100644
--- a/arm/gic.c
+++ b/arm/gic.c
@@ -909,7 +909,7 @@ static void test_its_pending_migration(void)
gicv3_lpi_rdist_disable(pe0);
gicv3_lpi_rdist_disable(pe1);
- /* lpis are interleaved inbetween the 2 PEs */
+ /* lpis are interleaved between the 2 PEs */
for (i = 0; i < 256; i++) {
struct its_collection *col = i % 2 ? collection[0] :
collection[1];
diff --git a/arm/micro-bench.c b/arm/micro-bench.c
index c731b1d..8436612 100644
--- a/arm/micro-bench.c
+++ b/arm/micro-bench.c
@@ -265,7 +265,7 @@ static void timer_post(uint64_t ntimes, uint64_t *total_ticks)
{
/*
* We use a 10msec timer to test the latency of PPI,
- * so we substract the ticks of 10msec to get the
+ * so we subtract the ticks of 10msec to get the
* actual latency
*/
*total_ticks -= ntimes * (cntfrq / 100);
diff --git a/lib/arm64/asm/assembler.h b/lib/arm64/asm/assembler.h
index a271e4c..aa8c65a 100644
--- a/lib/arm64/asm/assembler.h
+++ b/lib/arm64/asm/assembler.h
@@ -32,7 +32,7 @@
* kvm-unit-tests has no concept of scheduling.
*
* op: operation passed to dc instruction
- * domain: domain used in dsb instruciton
+ * domain: domain used in dsb instruction
* addr: starting virtual address of the region
* size: size of the region
* Corrupts: addr, size, tmp1, tmp2
--
2.27.0
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [kvm-unit-tests PATCH] arm: Fix typos
2022-03-11 17:08 [kvm-unit-tests PATCH] arm: Fix typos Thomas Huth
@ 2022-03-14 8:41 ` Andrew Jones
0 siblings, 0 replies; 2+ messages in thread
From: Andrew Jones @ 2022-03-14 8:41 UTC (permalink / raw)
To: Thomas Huth; +Cc: kvm, kvmarm
On Fri, Mar 11, 2022 at 06:08:50PM +0100, Thomas Huth wrote:
> Correct typos which were discovered with the "codespell" utility.
>
> Signed-off-by: Thomas Huth <thuth@redhat.com>
> ---
> arm/cstart.S | 2 +-
> arm/gic.c | 2 +-
> arm/micro-bench.c | 2 +-
> lib/arm64/asm/assembler.h | 2 +-
> 4 files changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/arm/cstart.S b/arm/cstart.S
> index 2401d92..7036e67 100644
> --- a/arm/cstart.S
> +++ b/arm/cstart.S
> @@ -44,7 +44,7 @@ start:
>
> /*
> * set stack, making room at top of stack for cpu0's
> - * exception stacks. Must start wtih stackptr, not
> + * exception stacks. Must start with stackptr, not
> * stacktop, so the thread size masking (shifts) work.
> */
> ldr sp, =stackptr
> diff --git a/arm/gic.c b/arm/gic.c
> index 1e3ea80..60457e2 100644
> --- a/arm/gic.c
> +++ b/arm/gic.c
> @@ -909,7 +909,7 @@ static void test_its_pending_migration(void)
> gicv3_lpi_rdist_disable(pe0);
> gicv3_lpi_rdist_disable(pe1);
>
> - /* lpis are interleaved inbetween the 2 PEs */
> + /* lpis are interleaved between the 2 PEs */
> for (i = 0; i < 256; i++) {
> struct its_collection *col = i % 2 ? collection[0] :
> collection[1];
> diff --git a/arm/micro-bench.c b/arm/micro-bench.c
> index c731b1d..8436612 100644
> --- a/arm/micro-bench.c
> +++ b/arm/micro-bench.c
> @@ -265,7 +265,7 @@ static void timer_post(uint64_t ntimes, uint64_t *total_ticks)
> {
> /*
> * We use a 10msec timer to test the latency of PPI,
> - * so we substract the ticks of 10msec to get the
> + * so we subtract the ticks of 10msec to get the
> * actual latency
> */
> *total_ticks -= ntimes * (cntfrq / 100);
> diff --git a/lib/arm64/asm/assembler.h b/lib/arm64/asm/assembler.h
> index a271e4c..aa8c65a 100644
> --- a/lib/arm64/asm/assembler.h
> +++ b/lib/arm64/asm/assembler.h
> @@ -32,7 +32,7 @@
> * kvm-unit-tests has no concept of scheduling.
> *
> * op: operation passed to dc instruction
> - * domain: domain used in dsb instruciton
> + * domain: domain used in dsb instruction
> * addr: starting virtual address of the region
> * size: size of the region
> * Corrupts: addr, size, tmp1, tmp2
> --
> 2.27.0
>
Applied to arm/queue.
Thanks,
drew
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-03-14 8:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-11 17:08 [kvm-unit-tests PATCH] arm: Fix typos Thomas Huth
2022-03-14 8:41 ` Andrew Jones
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox