OSDN Git Service

mips: mm: Discard ioremap_uncached_accelerated() method
authorSerge Semin <fancer.lancer@gmail.com>
Mon, 9 Jul 2018 13:57:13 +0000 (16:57 +0300)
committerPaul Burton <paul.burton@mips.com>
Tue, 10 Jul 2018 17:52:13 +0000 (10:52 -0700)
commitddba595b7b24ac17d553814d9d525fe4472c89e6
tree91ac22ad216d386f813f83887fac0500abe9d462
parent9748e33e26c65d84a0fb09df93c963d023f90a3f
mips: mm: Discard ioremap_uncached_accelerated() method

Adaptive ioremap_wc() method is now available as of commit 9748e33e26c6
("mips: mm: Create UCA-based ioremap_wc() method"). We can use it to
obtain UnCached Accelerated (UCA) mappings safely on all MIPS systems,
and so we don't need the MIPS-specific ioremap_uncached_accelerated()
any longer. This macro hard-coded the UCA Cache Coherency Attribute
(CCA) in a manner that isn't safe for kernels that may run on different
CPUs, and it is also entirely unused so we can trivially remove it.

[paul.burton@mips.com:
  - Reword the commit message a little.
  - Remove CC stable.]

Signed-off-by: Serge Semin <fancer.lancer@gmail.com>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/19790/
Cc: James Hogan <jhogan@kernel.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: linux-mips@linux-mips.org
Cc: okaya@codeaurora.org
Cc: chenhc@lemote.com
Cc: Sergey.Semin@t-platforms.ru
Cc: linux-kernel@vger.kernel.org
arch/mips/include/asm/io.h