Skip to content

Commit c9e35b4

Browse files
committed
Merge tag 'arc-6.9-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc
Pull ARC fixes from Vineet Gupta: - Incorrect VIPT aliasing assumption - Misc build warning fixes and some typos * tag 'arc-6.9-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc: ARC: [plat-hsdk]: Remove misplaced interrupt-cells property ARC: Fix typos ARC: mm: fix new code about cache aliasing ARC: Fix -Wmissing-prototypes warnings
2 parents bbacf71 + 61231eb commit c9e35b4

30 files changed

+50
-59
lines changed

arch/arc/Kconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
config ARC
77
def_bool y
88
select ARC_TIMERS
9-
select ARCH_HAS_CPU_CACHE_ALIASING
109
select ARCH_HAS_CACHE_LINE_SIZE
1110
select ARCH_HAS_DEBUG_VM_PGTABLE
1211
select ARCH_HAS_DMA_PREP_COHERENT

arch/arc/boot/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# SPDX-License-Identifier: GPL-2.0
22

3-
# uImage build relies on mkimage being availble on your host for ARC target
3+
# uImage build relies on mkimage being available on your host for ARC target
44
# You will need to build u-boot for ARC, rename mkimage to arc-elf32-mkimage
5-
# and make sure it's reacable from your PATH
5+
# and make sure it's reachable from your PATH
66

77
OBJCOPYFLAGS= -O binary -R .note -R .note.gnu.build-id -R .comment -S
88

arch/arc/boot/dts/axc003.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,9 +119,9 @@
119119
/*
120120
* The DW APB ICTL intc on MB is connected to CPU intc via a
121121
* DT "invisible" DW APB GPIO block, configured to simply pass thru
122-
* interrupts - setup accordinly in platform init (plat-axs10x/ax10x.c)
122+
* interrupts - setup accordingly in platform init (plat-axs10x/ax10x.c)
123123
*
124-
* So here we mimic a direct connection betwen them, ignoring the
124+
* So here we mimic a direct connection between them, ignoring the
125125
* ABPG GPIO. Thus set "interrupts = <24>" (DW APB GPIO to core)
126126
* instead of "interrupts = <12>" (DW APB ICTL to DW APB GPIO)
127127
*

arch/arc/boot/dts/hsdk.dts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,6 @@
205205
};
206206

207207
gmac: ethernet@8000 {
208-
#interrupt-cells = <1>;
209208
compatible = "snps,dwmac";
210209
reg = <0x8000 0x2000>;
211210
interrupts = <10>;

arch/arc/boot/dts/vdk_axs10x_mb.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@
113113
/*
114114
* Embedded Vision subsystem UIO mappings; only relevant for EV VDK
115115
*
116-
* This node is intentionally put outside of MB above becase
116+
* This node is intentionally put outside of MB above because
117117
* it maps areas outside of MB's 0xez-0xfz.
118118
*/
119119
uio_ev: uio@d0000000 {

arch/arc/include/asm/cachetype.h

Lines changed: 0 additions & 9 deletions
This file was deleted.

arch/arc/include/asm/dsp.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
/*
1313
* DSP-related saved registers - need to be saved only when you are
1414
* scheduled out.
15-
* structure fields name must correspond to aux register defenitions for
15+
* structure fields name must correspond to aux register definitions for
1616
* automatic offset calculation in DSP_AUX_SAVE_RESTORE macros
1717
*/
1818
struct dsp_callee_regs {

arch/arc/include/asm/entry-compact.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Stack switching code can no longer reliably rely on the fact that
88
* if we are NOT in user mode, stack is switched to kernel mode.
99
* e.g. L2 IRQ interrupted a L1 ISR which had not yet completed
10-
* it's prologue including stack switching from user mode
10+
* its prologue including stack switching from user mode
1111
*
1212
* Vineetg: Aug 28th 2008: Bug #94984
1313
* -Zero Overhead Loop Context shd be cleared when entering IRQ/EXcp/Trap
@@ -143,7 +143,7 @@
143143
* 2. L1 IRQ taken, ISR starts (CPU auto-switched to KERNEL mode)
144144
* 3. But before it could switch SP from USER to KERNEL stack
145145
* a L2 IRQ "Interrupts" L1
146-
* Thay way although L2 IRQ happened in Kernel mode, stack is still
146+
* That way although L2 IRQ happened in Kernel mode, stack is still
147147
* not switched.
148148
* To handle this, we may need to switch stack even if in kernel mode
149149
* provided SP has values in range of USER mode stack ( < 0x7000_0000 )
@@ -173,7 +173,7 @@
173173

174174
GET_CURR_TASK_ON_CPU r9
175175

176-
/* With current tsk in r9, get it's kernel mode stack base */
176+
/* With current tsk in r9, get its kernel mode stack base */
177177
GET_TSK_STACK_BASE r9, r9
178178

179179
/* save U mode SP @ pt_regs->sp */
@@ -282,7 +282,7 @@
282282
* NOTE:
283283
*
284284
* It is recommended that lp_count/ilink1/ilink2 not be used as a dest reg
285-
* for memory load operations. If used in that way interrupts are deffered
285+
* for memory load operations. If used in that way interrupts are deferred
286286
* by hardware and that is not good.
287287
*-------------------------------------------------------------*/
288288
.macro EXCEPTION_EPILOGUE
@@ -350,7 +350,7 @@
350350
* NOTE:
351351
*
352352
* It is recommended that lp_count/ilink1/ilink2 not be used as a dest reg
353-
* for memory load operations. If used in that way interrupts are deffered
353+
* for memory load operations. If used in that way interrupts are deferred
354354
* by hardware and that is not good.
355355
*-------------------------------------------------------------*/
356356
.macro INTERRUPT_EPILOGUE LVL

arch/arc/include/asm/entry.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#ifndef __ASM_ARC_ENTRY_H
88
#define __ASM_ARC_ENTRY_H
99

10-
#include <asm/unistd.h> /* For NR_syscalls defination */
10+
#include <asm/unistd.h> /* For NR_syscalls definition */
1111
#include <asm/arcregs.h>
1212
#include <asm/ptrace.h>
1313
#include <asm/processor.h> /* For VMALLOC_START */
@@ -56,7 +56,7 @@
5656
.endm
5757

5858
/*-------------------------------------------------------------
59-
* given a tsk struct, get to the base of it's kernel mode stack
59+
* given a tsk struct, get to the base of its kernel mode stack
6060
* tsk->thread_info is really a PAGE, whose bottom hoists stack
6161
* which grows upwards towards thread_info
6262
*------------------------------------------------------------*/

arch/arc/include/asm/irq.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* ARCv2 can support 240 interrupts in the core interrupts controllers and
1111
* 128 interrupts in IDU. Thus 512 virtual IRQs must be enough for most
1212
* configurations of boards.
13-
* This doesnt affect ARCompact, but we change it to same value
13+
* This doesn't affect ARCompact, but we change it to same value
1414
*/
1515
#define NR_IRQS 512
1616

0 commit comments

Comments
 (0)