Skip to content

Commit b574df9

Browse files
aikmpe
authored andcommitted
powerpc/mm: Fix typo in comments
Fixes: 912cc87 "powerpc/mm/radix: Add LPID based tlb flush helpers" Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
1 parent a8c0bf3 commit b574df9

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

arch/powerpc/mm/tlb-radix.c

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ static inline void __tlbiel_pid(unsigned long pid, int set,
9898
rb |= set << PPC_BITLSHIFT(51);
9999
rs = ((unsigned long)pid) << PPC_BITLSHIFT(31);
100100
prs = 1; /* process scoped */
101-
r = 1; /* raidx format */
101+
r = 1; /* radix format */
102102

103103
asm volatile(PPC_TLBIEL(%0, %4, %3, %2, %1)
104104
: : "r"(rb), "i"(r), "i"(prs), "i"(ric), "r"(rs) : "memory");
@@ -112,7 +112,7 @@ static inline void __tlbie_pid(unsigned long pid, unsigned long ric)
112112
rb = PPC_BIT(53); /* IS = 1 */
113113
rs = pid << PPC_BITLSHIFT(31);
114114
prs = 1; /* process scoped */
115-
r = 1; /* raidx format */
115+
r = 1; /* radix format */
116116

117117
asm volatile(PPC_TLBIE_5(%0, %4, %3, %2, %1)
118118
: : "r"(rb), "i"(r), "i"(prs), "i"(ric), "r"(rs) : "memory");
@@ -164,7 +164,7 @@ static inline void __tlbiel_va(unsigned long va, unsigned long pid,
164164
rb |= ap << PPC_BITLSHIFT(58);
165165
rs = pid << PPC_BITLSHIFT(31);
166166
prs = 1; /* process scoped */
167-
r = 1; /* raidx format */
167+
r = 1; /* radix format */
168168

169169
asm volatile(PPC_TLBIEL(%0, %4, %3, %2, %1)
170170
: : "r"(rb), "i"(r), "i"(prs), "i"(ric), "r"(rs) : "memory");
@@ -212,7 +212,7 @@ static inline void __tlbie_va(unsigned long va, unsigned long pid,
212212
rb |= ap << PPC_BITLSHIFT(58);
213213
rs = pid << PPC_BITLSHIFT(31);
214214
prs = 1; /* process scoped */
215-
r = 1; /* raidx format */
215+
r = 1; /* radix format */
216216

217217
asm volatile(PPC_TLBIE_5(%0, %4, %3, %2, %1)
218218
: : "r"(rb), "i"(r), "i"(prs), "i"(ric), "r"(rs) : "memory");
@@ -615,7 +615,7 @@ void radix__flush_tlb_lpid_va(unsigned long lpid, unsigned long gpa,
615615
rb |= ap << PPC_BITLSHIFT(58);
616616
rs = lpid & ((1UL << 32) - 1);
617617
prs = 0; /* process scoped */
618-
r = 1; /* raidx format */
618+
r = 1; /* radix format */
619619

620620
asm volatile("ptesync": : :"memory");
621621
asm volatile(PPC_TLBIE_5(%0, %4, %3, %2, %1)
@@ -633,7 +633,7 @@ void radix__flush_tlb_lpid(unsigned long lpid)
633633
rb = 0x2 << PPC_BITLSHIFT(53); /* IS = 2 */
634634
rs = lpid & ((1UL << 32) - 1);
635635
prs = 0; /* partition scoped */
636-
r = 1; /* raidx format */
636+
r = 1; /* radix format */
637637

638638
asm volatile("ptesync": : :"memory");
639639
asm volatile(PPC_TLBIE_5(%0, %4, %3, %2, %1)
@@ -657,7 +657,7 @@ void radix__flush_tlb_all(void)
657657

658658
rb = 0x3 << PPC_BITLSHIFT(53); /* IS = 3 */
659659
prs = 0; /* partition scoped */
660-
r = 1; /* raidx format */
660+
r = 1; /* radix format */
661661
rs = 1 & ((1UL << 32) - 1); /* any LPID value to flush guest mappings */
662662

663663
asm volatile("ptesync": : :"memory");

0 commit comments

Comments
 (0)