mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/3] arm64: fix typos in comments
@ 2026-09-07  4:44 Hemanth Selam
  2026-09-07  4:44 ` [PATCH v2 1/3] arm64: kvm: fix typo "synchonized" in comment Hemanth Selam
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Hemanth Selam @ 2026-09-07  4:44 UTC (permalink / raw)
  To: Marc Zyngier, Oliver Upton, Fuad Tabba, Joey Gouly,
	Steffen Eiden, Suzuki K Poulose, Zenghui Yu, Catalin Marinas,
	Will Deacon, Mark Rutland, Paolo Bonzini, Sean Christopherson,
	Shuah Khan
  Cc: linux-arm-kernel, kvmarm, linux-kernel, kvm, linux-kselftest

This is v2 of the spelling fixes for this tree.

Changes since v1:
The pauth.c change is corrected: the doubled 'is' is a misspelt 'it is',
so v1 deleted the wrong word.  Spotted by Fuad Tabba.

Only comments change; no code is touched.

 arch/arm64/kvm/hyp/entry.S                           | 2 +-
 arch/arm64/kvm/pauth.c                               | 2 +-
 tools/testing/selftests/kvm/arm64/debug-exceptions.c | 2 +-
 tools/testing/selftests/kvm/arm64/hypercalls.c       | 4 ++--
 4 files changed, 5 insertions(+), 5 deletions(-)


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH v2 1/3] arm64: kvm: fix typo "synchonized" in comment
  2026-09-07  4:44 [PATCH v2 0/3] arm64: fix typos in comments Hemanth Selam
@ 2026-09-07  4:44 ` Hemanth Selam
  2026-09-07  4:44 ` [PATCH v2 2/3] selftests: kvm: fix typos in comments Hemanth Selam
  2026-09-07  4:44 ` [PATCH v2 3/3] arm64: kvm: fix typo in pauth.c comment Hemanth Selam
  2 siblings, 0 replies; 4+ messages in thread
From: Hemanth Selam @ 2026-09-07  4:44 UTC (permalink / raw)
  To: Marc Zyngier, Oliver Upton, Fuad Tabba, Joey Gouly,
	Steffen Eiden, Suzuki K Poulose, Zenghui Yu, Catalin Marinas,
	Will Deacon, Mark Rutland, Paolo Bonzini, Sean Christopherson,
	Shuah Khan
  Cc: linux-arm-kernel, kvmarm, linux-kernel, kvm, linux-kselftest

Correct "synchonized" to "synchronized", reported by scripts/checkpatch.pl
using the misspelling list in scripts/spelling.txt.  Only touches comments,
no code changes.

Assisted-by: Cursor:claude-opus-5
Signed-off-by: Hemanth Selam <hemanth.selam@gmail.com>
---
 arch/arm64/kvm/hyp/entry.S | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/kvm/hyp/entry.S b/arch/arm64/kvm/hyp/entry.S
index 308100ed25de..9709905f21b5 100644
--- a/arch/arm64/kvm/hyp/entry.S
+++ b/arch/arm64/kvm/hyp/entry.S
@@ -46,7 +46,7 @@ alternative_else_nop_endif
 
 	// Ensure that __guest_enter() always provides a context
 	// synchronization event so that callers don't need ISBs for anything
-	// that would usually be synchonized by the ERET.
+	// that would usually be synchronized by the ERET.
 	isb
 	mov	x0, #ARM_EXCEPTION_IRQ
 	ret

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH v2 2/3] selftests: kvm: fix typos in comments
  2026-09-07  4:44 [PATCH v2 0/3] arm64: fix typos in comments Hemanth Selam
  2026-09-07  4:44 ` [PATCH v2 1/3] arm64: kvm: fix typo "synchonized" in comment Hemanth Selam
@ 2026-09-07  4:44 ` Hemanth Selam
  2026-09-07  4:44 ` [PATCH v2 3/3] arm64: kvm: fix typo in pauth.c comment Hemanth Selam
  2 siblings, 0 replies; 4+ messages in thread
From: Hemanth Selam @ 2026-09-07  4:44 UTC (permalink / raw)
  To: Marc Zyngier, Oliver Upton, Fuad Tabba, Joey Gouly,
	Steffen Eiden, Suzuki K Poulose, Zenghui Yu, Catalin Marinas,
	Will Deacon, Mark Rutland, Paolo Bonzini, Sean Christopherson,
	Shuah Khan
  Cc: linux-arm-kernel, kvmarm, linux-kernel, kvm, linux-kselftest

Fix typos in comments, reported by scripts/checkpatch.pl using the
misspelling list in scripts/spelling.txt.  Only touches comments, no code
changes.

Assisted-by: Cursor:claude-opus-5
Signed-off-by: Hemanth Selam <hemanth.selam@gmail.com>
---
 tools/testing/selftests/kvm/arm64/debug-exceptions.c | 2 +-
 tools/testing/selftests/kvm/arm64/hypercalls.c       | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/tools/testing/selftests/kvm/arm64/debug-exceptions.c b/tools/testing/selftests/kvm/arm64/debug-exceptions.c
index 7dc5f0b4f6ad..9da6dc5bcfe6 100644
--- a/tools/testing/selftests/kvm/arm64/debug-exceptions.c
+++ b/tools/testing/selftests/kvm/arm64/debug-exceptions.c
@@ -387,7 +387,7 @@ static void guest_code_ss(int test_cnt)
 		 * Enable Single Step execution.  Note!  This _must_ be a bare
 		 * ucall as the ucall() path uses atomic operations to manage
 		 * the ucall structures, and the built-in "atomics" are usually
-		 * implemented via exclusive access instructions.  The exlusive
+		 * implemented via exclusive access instructions.  The exclusive
 		 * monitor is cleared on ERET, and so taking debug exceptions
 		 * during a LDREX=>STREX sequence will prevent forward progress
 		 * and hang the guest/test.
diff --git a/tools/testing/selftests/kvm/arm64/hypercalls.c b/tools/testing/selftests/kvm/arm64/hypercalls.c
index 5d96cdf382c4..a24becda9e62 100644
--- a/tools/testing/selftests/kvm/arm64/hypercalls.c
+++ b/tools/testing/selftests/kvm/arm64/hypercalls.c
@@ -1,9 +1,9 @@
 // SPDX-License-Identifier: GPL-2.0-only
 
-/* hypercalls: Check the ARM64's psuedo-firmware bitmap register interface.
+/* hypercalls: Check the ARM64's pseudo-firmware bitmap register interface.
  *
  * The test validates the basic hypercall functionalities that are exposed
- * via the psuedo-firmware bitmap register. This includes the registers'
+ * via the pseudo-firmware bitmap register. This includes the registers'
  * read/write behavior before and after the VM has started, and if the
  * hypercalls are properly masked or unmasked to the guest when disabled or
  * enabled from the KVM userspace, respectively.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH v2 3/3] arm64: kvm: fix typo in pauth.c comment
  2026-09-07  4:44 [PATCH v2 0/3] arm64: fix typos in comments Hemanth Selam
  2026-09-07  4:44 ` [PATCH v2 1/3] arm64: kvm: fix typo "synchonized" in comment Hemanth Selam
  2026-09-07  4:44 ` [PATCH v2 2/3] selftests: kvm: fix typos in comments Hemanth Selam
@ 2026-09-07  4:44 ` Hemanth Selam
  2 siblings, 0 replies; 4+ messages in thread
From: Hemanth Selam @ 2026-09-07  4:44 UTC (permalink / raw)
  To: Marc Zyngier, Oliver Upton, Fuad Tabba, Joey Gouly,
	Steffen Eiden, Suzuki K Poulose, Zenghui Yu, Catalin Marinas,
	Will Deacon, Mark Rutland, Paolo Bonzini, Sean Christopherson,
	Shuah Khan
  Cc: linux-arm-kernel, kvmarm, linux-kernel, kvm, linux-kselftest

The comment reads "This code assumes that is is run from EL2".  The first
"is" is not a repetition, it should be "it".

v1 deleted the second "is" instead, which left the sentence without a
subject.  Fuad Tabba pointed out the correct reading.

Only touches a comment, no code changes.

Assisted-by: Cursor:claude-opus-5
Signed-off-by: Hemanth Selam <hemanth.selam@gmail.com>
---
 arch/arm64/kvm/pauth.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/kvm/pauth.c b/arch/arm64/kvm/pauth.c
index d5eb3ae876be..bb6c42e78058 100644
--- a/arch/arm64/kvm/pauth.c
+++ b/arch/arm64/kvm/pauth.c
@@ -5,7 +5,7 @@
  *
  * Primitive PAuth emulation for ERETAA/ERETAB.
  *
- * This code assumes that is is run from EL2, and that it is part of
+ * This code assumes that it is run from EL2, and that it is part of
  * the emulation of ERETAx for a guest hypervisor. That's a lot of
  * baked-in assumptions and shortcuts.
  *

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-09-07  4:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-07  4:44 [PATCH v2 0/3] arm64: fix typos in comments Hemanth Selam
2026-09-07  4:44 ` [PATCH v2 1/3] arm64: kvm: fix typo "synchonized" in comment Hemanth Selam
2026-09-07  4:44 ` [PATCH v2 2/3] selftests: kvm: fix typos in comments Hemanth Selam
2026-09-07  4:44 ` [PATCH v2 3/3] arm64: kvm: fix typo in pauth.c comment Hemanth Selam

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®