Skip to content

Commit 5f840df

Browse files
flavio-suligoivineetgarc
authored andcommitted
ARC: mm: fix spelling mistakes
Signed-off-by: Flavio Suligoi <f.suligoi@asem.it> Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
1 parent 78aec9b commit 5f840df

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

arch/arc/mm/tlb.c

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,14 @@
3030
* -Changes related to MMU v2 (Rel 4.8)
3131
*
3232
* Vineetg: Aug 29th 2008
33-
* -In TLB Flush operations (Metal Fix MMU) there is a explict command to
33+
* -In TLB Flush operations (Metal Fix MMU) there is a explicit command to
3434
* flush Micro-TLBS. If TLB Index Reg is invalid prior to TLBIVUTLB cmd,
3535
* it fails. Thus need to load it with ANY valid value before invoking
3636
* TLBIVUTLB cmd
3737
*
3838
* Vineetg: Aug 21th 2008:
3939
* -Reduced the duration of IRQ lockouts in TLB Flush routines
40-
* -Multiple copies of TLB erase code seperated into a "single" function
40+
* -Multiple copies of TLB erase code separated into a "single" function
4141
* -In TLB Flush routines, interrupt disabling moved UP to retrieve ASID
4242
* in interrupt-safe region.
4343
*
@@ -66,7 +66,7 @@
6666
*
6767
* Although J-TLB is 2 way set assoc, ARC700 caches J-TLB into uTLBS which has
6868
* much higher associativity. u-D-TLB is 8 ways, u-I-TLB is 4 ways.
69-
* Given this, the thrasing problem should never happen because once the 3
69+
* Given this, the thrashing problem should never happen because once the 3
7070
* J-TLB entries are created (even though 3rd will knock out one of the prev
7171
* two), the u-D-TLB and u-I-TLB will have what is required to accomplish memcpy
7272
*
@@ -127,7 +127,7 @@ static void utlb_invalidate(void)
127127
* There was however an obscure hardware bug, where uTLB flush would
128128
* fail when a prior probe for J-TLB (both totally unrelated) would
129129
* return lkup err - because the entry didn't exist in MMU.
130-
* The Workround was to set Index reg with some valid value, prior to
130+
* The Workaround was to set Index reg with some valid value, prior to
131131
* flush. This was fixed in MMU v3
132132
*/
133133
unsigned int idx;
@@ -272,7 +272,7 @@ noinline void local_flush_tlb_all(void)
272272
}
273273

274274
/*
275-
* Flush the entrie MM for userland. The fastest way is to move to Next ASID
275+
* Flush the entire MM for userland. The fastest way is to move to Next ASID
276276
*/
277277
noinline void local_flush_tlb_mm(struct mm_struct *mm)
278278
{
@@ -303,7 +303,7 @@ noinline void local_flush_tlb_mm(struct mm_struct *mm)
303303
* Difference between this and Kernel Range Flush is
304304
* -Here the fastest way (if range is too large) is to move to next ASID
305305
* without doing any explicit Shootdown
306-
* -In case of kernel Flush, entry has to be shot down explictly
306+
* -In case of kernel Flush, entry has to be shot down explicitly
307307
*/
308308
void local_flush_tlb_range(struct vm_area_struct *vma, unsigned long start,
309309
unsigned long end)
@@ -620,7 +620,7 @@ void update_mmu_cache(struct vm_area_struct *vma, unsigned long vaddr_unaligned,
620620
* Super Page size is configurable in hardware (4K to 16M), but fixed once
621621
* RTL builds.
622622
*
623-
* The exact THP size a Linx configuration will support is a function of:
623+
* The exact THP size a Linux configuration will support is a function of:
624624
* - MMU page size (typical 8K, RTL fixed)
625625
* - software page walker address split between PGD:PTE:PFN (typical
626626
* 11:8:13, but can be changed with 1 line)
@@ -698,7 +698,7 @@ void local_flush_pmd_tlb_range(struct vm_area_struct *vma, unsigned long start,
698698

699699
#endif
700700

701-
/* Read the Cache Build Confuration Registers, Decode them and save into
701+
/* Read the Cache Build Configuration Registers, Decode them and save into
702702
* the cpuinfo structure for later use.
703703
* No Validation is done here, simply read/convert the BCRs
704704
*/
@@ -803,13 +803,13 @@ void arc_mmu_init(void)
803803
pr_info("%s", arc_mmu_mumbojumbo(0, str, sizeof(str)));
804804

805805
/*
806-
* Can't be done in processor.h due to header include depenedencies
806+
* Can't be done in processor.h due to header include dependencies
807807
*/
808808
BUILD_BUG_ON(!IS_ALIGNED((CONFIG_ARC_KVADDR_SIZE << 20), PMD_SIZE));
809809

810810
/*
811811
* stack top size sanity check,
812-
* Can't be done in processor.h due to header include depenedencies
812+
* Can't be done in processor.h due to header include dependencies
813813
*/
814814
BUILD_BUG_ON(!IS_ALIGNED(STACK_TOP, PMD_SIZE));
815815

@@ -881,7 +881,7 @@ void arc_mmu_init(void)
881881
* the duplicate one.
882882
* -Knob to be verbose abt it.(TODO: hook them up to debugfs)
883883
*/
884-
volatile int dup_pd_silent; /* Be slient abt it or complain (default) */
884+
volatile int dup_pd_silent; /* Be silent abt it or complain (default) */
885885

886886
void do_tlb_overlap_fault(unsigned long cause, unsigned long address,
887887
struct pt_regs *regs)
@@ -948,7 +948,7 @@ void do_tlb_overlap_fault(unsigned long cause, unsigned long address,
948948

949949
/***********************************************************************
950950
* Diagnostic Routines
951-
* -Called from Low Level TLB Hanlders if things don;t look good
951+
* -Called from Low Level TLB Handlers if things don;t look good
952952
**********************************************************************/
953953

954954
#ifdef CONFIG_ARC_DBG_TLB_PARANOIA

0 commit comments

Comments
 (0)