[PATCH 2/8] ARC: Fix typos

2024-01-03 Thread Bjorn Helgaas
From: Bjorn Helgaas 

Fix typos, most reported by "codespell arch/arc".  Only touches comments,
no code changes.

Signed-off-by: Bjorn Helgaas 
Cc: linux-snps-arc@lists.infradead.org
---
 arch/arc/boot/Makefile|  4 ++--
 arch/arc/boot/dts/axc003.dtsi |  4 ++--
 arch/arc/boot/dts/vdk_axs10x_mb.dtsi  |  2 +-
 arch/arc/include/asm/dsp.h|  2 +-
 arch/arc/include/asm/entry-compact.h  | 10 +-
 arch/arc/include/asm/entry.h  |  4 ++--
 arch/arc/include/asm/irq.h|  2 +-
 arch/arc/include/asm/irqflags-compact.h   |  2 +-
 arch/arc/include/asm/mmu_context.h|  2 +-
 arch/arc/include/asm/pgtable-bits-arcv2.h |  2 +-
 arch/arc/include/asm/shmparam.h   |  2 +-
 arch/arc/include/asm/smp.h|  4 ++--
 arch/arc/include/asm/thread_info.h|  2 +-
 arch/arc/include/uapi/asm/swab.h  |  2 +-
 arch/arc/kernel/entry-arcv2.S |  8 
 arch/arc/kernel/entry.S   |  4 ++--
 arch/arc/kernel/head.S|  2 +-
 arch/arc/kernel/intc-arcv2.c  |  2 +-
 arch/arc/kernel/perf_event.c  |  2 +-
 arch/arc/kernel/setup.c   |  2 +-
 arch/arc/kernel/signal.c  |  2 +-
 arch/arc/kernel/traps.c   |  2 +-
 arch/arc/kernel/vmlinux.lds.S |  4 ++--
 arch/arc/mm/tlbex.S   |  8 
 24 files changed, 40 insertions(+), 40 deletions(-)

diff --git a/arch/arc/boot/Makefile b/arch/arc/boot/Makefile
index 5648748c285f..5a8550124b73 100644
--- a/arch/arc/boot/Makefile
+++ b/arch/arc/boot/Makefile
@@ -1,8 +1,8 @@
 # SPDX-License-Identifier: GPL-2.0
 
-# uImage build relies on mkimage being availble on your host for ARC target
+# uImage build relies on mkimage being available on your host for ARC target
 # You will need to build u-boot for ARC, rename mkimage to arc-elf32-mkimage
-# and make sure it's reacable from your PATH
+# and make sure it's reachable from your PATH
 
 OBJCOPYFLAGS= -O binary -R .note -R .note.gnu.build-id -R .comment -S
 
diff --git a/arch/arc/boot/dts/axc003.dtsi b/arch/arc/boot/dts/axc003.dtsi
index 3434c8131ecd..c0a812674ce9 100644
--- a/arch/arc/boot/dts/axc003.dtsi
+++ b/arch/arc/boot/dts/axc003.dtsi
@@ -119,9 +119,9 @@ mmc@15000 {
/*
 * The DW APB ICTL intc on MB is connected to CPU intc via a
 * DT "invisible" DW APB GPIO block, configured to simply pass thru
-* interrupts - setup accordinly in platform init (plat-axs10x/ax10x.c)
+* interrupts - setup accordingly in platform init (plat-axs10x/ax10x.c)
 *
-* So here we mimic a direct connection betwen them, ignoring the
+* So here we mimic a direct connection between them, ignoring the
 * ABPG GPIO. Thus set "interrupts = <24>" (DW APB GPIO to core)
 * instead of "interrupts = <12>" (DW APB ICTL to DW APB GPIO)
 *
diff --git a/arch/arc/boot/dts/vdk_axs10x_mb.dtsi 
b/arch/arc/boot/dts/vdk_axs10x_mb.dtsi
index 90a412026e64..0e0e2d337bf8 100644
--- a/arch/arc/boot/dts/vdk_axs10x_mb.dtsi
+++ b/arch/arc/boot/dts/vdk_axs10x_mb.dtsi
@@ -113,7 +113,7 @@ mmc@15000 {
/*
 * Embedded Vision subsystem UIO mappings; only relevant for EV VDK
 *
-* This node is intentionally put outside of MB above becase
+* This node is intentionally put outside of MB above because
 * it maps areas outside of MB's 0xez-0xfz.
 */
uio_ev: uio@d000 {
diff --git a/arch/arc/include/asm/dsp.h b/arch/arc/include/asm/dsp.h
index 202c78e56704..f496dbc4640b 100644
--- a/arch/arc/include/asm/dsp.h
+++ b/arch/arc/include/asm/dsp.h
@@ -12,7 +12,7 @@
 /*
  * DSP-related saved registers - need to be saved only when you are
  * scheduled out.
- * structure fields name must correspond to aux register defenitions for
+ * structure fields name must correspond to aux register definitions for
  * automatic offset calculation in DSP_AUX_SAVE_RESTORE macros
  */
 struct dsp_callee_regs {
diff --git a/arch/arc/include/asm/entry-compact.h 
b/arch/arc/include/asm/entry-compact.h
index a0e760eb35a8..4b8502df31d9 100644
--- a/arch/arc/include/asm/entry-compact.h
+++ b/arch/arc/include/asm/entry-compact.h
@@ -7,7 +7,7 @@
  *  Stack switching code can no longer reliably rely on the fact that
  *  if we are NOT in user mode, stack is switched to kernel mode.
  *  e.g. L2 IRQ interrupted a L1 ISR which had not yet completed
- *  it's prologue including stack switching from user mode
+ *  its prologue including stack switching from user mode
  *
  * Vineetg: Aug 28th 2008: Bug #94984
  *  -Zero Overhead Loop Context shd be cleared when entering IRQ/EXcp/Trap
@@ -58,7 +58,7 @@
 * 2. L1 IRQ taken, ISR starts (CPU auto-switched to KERNEL mode)
 * 3. But before it could switch SP from USER to KERNEL stack
 *  a L2 IRQ "Interrupts" L1
-* Thay way although L2 IRQ happened in Kern

Re: [PATCH 2/8] ARC: Fix typos

2024-01-03 Thread Randy Dunlap



On 1/3/24 15:15, Bjorn Helgaas wrote:
> From: Bjorn Helgaas 
> 
> Fix typos, most reported by "codespell arch/arc".  Only touches comments,
> no code changes.
> 
> Signed-off-by: Bjorn Helgaas 
> Cc: linux-snps-arc@lists.infradead.org
> ---
>  arch/arc/boot/Makefile|  4 ++--
>  arch/arc/boot/dts/axc003.dtsi |  4 ++--
>  arch/arc/boot/dts/vdk_axs10x_mb.dtsi  |  2 +-
>  arch/arc/include/asm/dsp.h|  2 +-
>  arch/arc/include/asm/entry-compact.h  | 10 +-
>  arch/arc/include/asm/entry.h  |  4 ++--
>  arch/arc/include/asm/irq.h|  2 +-
>  arch/arc/include/asm/irqflags-compact.h   |  2 +-
>  arch/arc/include/asm/mmu_context.h|  2 +-
>  arch/arc/include/asm/pgtable-bits-arcv2.h |  2 +-
>  arch/arc/include/asm/shmparam.h   |  2 +-
>  arch/arc/include/asm/smp.h|  4 ++--
>  arch/arc/include/asm/thread_info.h|  2 +-
>  arch/arc/include/uapi/asm/swab.h  |  2 +-
>  arch/arc/kernel/entry-arcv2.S |  8 
>  arch/arc/kernel/entry.S   |  4 ++--
>  arch/arc/kernel/head.S|  2 +-
>  arch/arc/kernel/intc-arcv2.c  |  2 +-
>  arch/arc/kernel/perf_event.c  |  2 +-
>  arch/arc/kernel/setup.c   |  2 +-
>  arch/arc/kernel/signal.c  |  2 +-
>  arch/arc/kernel/traps.c   |  2 +-
>  arch/arc/kernel/vmlinux.lds.S |  4 ++--
>  arch/arc/mm/tlbex.S   |  8 
>  24 files changed, 40 insertions(+), 40 deletions(-)
> 


> diff --git a/arch/arc/include/asm/pgtable-bits-arcv2.h 
> b/arch/arc/include/asm/pgtable-bits-arcv2.h
> index f3eea3f30b2e..f8f85c04d7a8 100644
> --- a/arch/arc/include/asm/pgtable-bits-arcv2.h
> +++ b/arch/arc/include/asm/pgtable-bits-arcv2.h
> @@ -66,7 +66,7 @@
>   * Other rules which cause the divergence from 1:1 mapping
>   *
>   *  1. Although ARC700 can do exclusive execute/write protection (meaning R
> - * can be tracked independet of X/W unlike some other CPUs), still to
> + * can be tracked independent of X/W unlike some other CPUs), still to

 independently

>   * keep things consistent with other archs:
>   *  -Write implies Read:   W => R
>   *  -Execute implies Read: X => R

> diff --git a/arch/arc/kernel/signal.c b/arch/arc/kernel/signal.c
> index 0b3bb529d246..5414d9f5c40c 100644
> --- a/arch/arc/kernel/signal.c
> +++ b/arch/arc/kernel/signal.c
> @@ -9,7 +9,7 @@
>   * vineetg: Nov 2009 (Everything needed for TIF_RESTORE_SIGMASK)
>   *  -do_signal() supports TIF_RESTORE_SIGMASK
>   *  -do_signal() no loner needs oldset, required by OLD sys_sigsuspend
> - *  -sys_rt_sigsuspend() now comes from generic code, so discard arch 
> implemen
> + *  -sys_rt_sigsuspend() now comes from generic code, so discard arch 
> implement

 
implementation

>   *  -sys_sigsuspend() no longer needs to fudge ptregs, hence that arg removed
>   *  -sys_sigsuspend() no longer loops for do_signal(), sets TIF_xxx and 
> leaves
>   *   the job to do_signal()


But in any case:

Reviewed-by: Randy Dunlap 

Thanks.

-- 
#Randy

___
linux-snps-arc mailing list
linux-snps-arc@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-snps-arc