[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200131125403.481739981@infradead.org>
Date: Fri, 31 Jan 2020 13:45:32 +0100
From: Peter Zijlstra <peterz@...radead.org>
To: Geert Uytterhoeven <geert@...ux-m68k.org>
Cc: linux-m68k@...ts.linux-m68k.org, linux-kernel@...r.kernel.org,
Will Deacon <will@...nel.org>,
Peter Zijlstra <peterz@...radead.org>,
Michael Schmitz <schmitzmic@...il.com>,
Greg Ungerer <gerg@...ux-m68k.org>
Subject: [PATCH -v2 01/10] m68k,mm: Remove stray nocache in ColdFire pgalloc
Since ColdFire V4e is a software TLB-miss architecture, there is no
need for page-tables to be mapped uncached. Remove this stray
nocache_page() dance, which isn't paired with a cache_page() and looks
like a copy/paste/edit fail.
Signed-off-by: Peter Zijlstra (Intel) <peterz@...radead.org>
---
arch/m68k/include/asm/mcf_pgalloc.h | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
--- a/arch/m68k/include/asm/mcf_pgalloc.h
+++ b/arch/m68k/include/asm/mcf_pgalloc.h
@@ -55,12 +55,8 @@ static inline struct page *pte_alloc_one
}
pte = kmap(page);
- if (pte) {
+ if (pte)
clear_page(pte);
- __flush_page_to_ram(pte);
- flush_tlb_kernel_page(pte);
- nocache_page(pte);
- }
kunmap(page);
return page;
Powered by blists - more mailing lists