Skip to content

Commit 54aa699

Browse files
bjorn-helgaasIngo Molnar
authored andcommitted
arch/x86: Fix typos
Fix typos, most reported by "codespell arch/x86". Only touches comments, no code changes. Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Signed-off-by: Ingo Molnar <mingo@kernel.org> Reviewed-by: Randy Dunlap <rdunlap@infradead.org> Link: https://lore.kernel.org/r/20240103004011.1758650-1-helgaas@kernel.org
1 parent 7d28365 commit 54aa699

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+72
-72
lines changed

arch/x86/boot/compressed/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ KBUILD_CFLAGS += -D__DISABLE_EXPORTS
5353
KBUILD_CFLAGS += $(call cc-option,-Wa$(comma)-mrelax-relocations=no)
5454
KBUILD_CFLAGS += -include $(srctree)/include/linux/hidden.h
5555

56-
# sev.c indirectly inludes inat-table.h which is generated during
56+
# sev.c indirectly includes inat-table.h which is generated during
5757
# compilation and stored in $(objtree). Add the directory to the includes so
5858
# that the compiler finds it even with out-of-tree builds (make O=/some/path).
5959
CFLAGS_sev.o += -I$(objtree)/arch/x86/lib/

arch/x86/boot/compressed/mem.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
/*
1010
* accept_memory() and process_unaccepted_memory() called from EFI stub which
11-
* runs before decompresser and its early_tdx_detect().
11+
* runs before decompressor and its early_tdx_detect().
1212
*
1313
* Enumerate TDX directly from the early users.
1414
*/

arch/x86/coco/tdx/tdx.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -886,7 +886,7 @@ void __init tdx_early_init(void)
886886
* there.
887887
*
888888
* Intel-TDX has a secure RDMSR hypercall, but that needs to be
889-
* implemented seperately in the low level startup ASM code.
889+
* implemented separately in the low level startup ASM code.
890890
* Until that is in place, disable parallel bringup for TDX.
891891
*/
892892
x86_cpuinit.parallel_bringup = false;

arch/x86/crypto/aesni-intel_asm.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -666,7 +666,7 @@ ALL_F: .octa 0xffffffffffffffffffffffffffffffff
666666

667667
.ifc \operation, dec
668668
movdqa %xmm1, %xmm3
669-
pxor %xmm1, %xmm9 # Cyphertext XOR E(K, Yn)
669+
pxor %xmm1, %xmm9 # Ciphertext XOR E(K, Yn)
670670

671671
mov \PLAIN_CYPH_LEN, %r10
672672
add %r13, %r10

arch/x86/crypto/aesni-intel_avx-x86_64.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -747,7 +747,7 @@ VARIABLE_OFFSET = 16*8
747747

748748
.if \ENC_DEC == DEC
749749
vmovdqa %xmm1, %xmm3
750-
pxor %xmm1, %xmm9 # Cyphertext XOR E(K, Yn)
750+
pxor %xmm1, %xmm9 # Ciphertext XOR E(K, Yn)
751751

752752
mov \PLAIN_CYPH_LEN, %r10
753753
add %r13, %r10

arch/x86/crypto/crc32c-pcl-intel-asm_64.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ SYM_FUNC_START(crc_pcl)
184184
xor crc1,crc1
185185
xor crc2,crc2
186186

187-
# Fall thruogh into top of crc array (crc_128)
187+
# Fall through into top of crc array (crc_128)
188188

189189
################################################################
190190
## 3) CRC Array:

arch/x86/crypto/sha512-avx-asm.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ frame_size = frame_WK + WK_SIZE
8484

8585
# Useful QWORD "arrays" for simpler memory references
8686
# MSG, DIGEST, K_t, W_t are arrays
87-
# WK_2(t) points to 1 of 2 qwords at frame.WK depdending on t being odd/even
87+
# WK_2(t) points to 1 of 2 qwords at frame.WK depending on t being odd/even
8888

8989
# Input message (arg1)
9090
#define MSG(i) 8*i(msg)

arch/x86/crypto/sha512-ssse3-asm.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ frame_size = frame_WK + WK_SIZE
8282

8383
# Useful QWORD "arrays" for simpler memory references
8484
# MSG, DIGEST, K_t, W_t are arrays
85-
# WK_2(t) points to 1 of 2 qwords at frame.WK depdending on t being odd/even
85+
# WK_2(t) points to 1 of 2 qwords at frame.WK depending on t being odd/even
8686

8787
# Input message (arg1)
8888
#define MSG(i) 8*i(msg)

arch/x86/events/amd/brs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ int amd_brs_hw_config(struct perf_event *event)
125125
* Where X is the number of taken branches due to interrupt
126126
* skid. Skid is large.
127127
*
128-
* Where Y is the occurences of the event while BRS is
128+
* Where Y is the occurrences of the event while BRS is
129129
* capturing the lbr_nr entries.
130130
*
131131
* By using retired taken branches, we limit the impact on the

arch/x86/events/amd/core.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1184,7 +1184,7 @@ static void amd_put_event_constraints_f17h(struct cpu_hw_events *cpuc,
11841184
* period of each one and given that the BRS saturates, it would not be possible
11851185
* to guarantee correlated content for all events. Therefore, in situations
11861186
* where multiple events want to use BRS, the kernel enforces mutual exclusion.
1187-
* Exclusion is enforced by chosing only one counter for events using BRS.
1187+
* Exclusion is enforced by choosing only one counter for events using BRS.
11881188
* The event scheduling logic will then automatically multiplex the
11891189
* events and ensure that at most one event is actively using BRS.
11901190
*

0 commit comments

Comments
 (0)