Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1375581imm; Tue, 10 Jul 2018 00:16:47 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfKTlcGmOEXqI8dpl0cTfd6/oQSf9ENq3ErY9USJksnq6uEu6X4o4JXZCR5nKbKnTqZYNR/ X-Received: by 2002:a17:902:8bc6:: with SMTP id r6-v6mr23071346plo.257.1531207007211; Tue, 10 Jul 2018 00:16:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531207007; cv=none; d=google.com; s=arc-20160816; b=kDRRwekspmyVJznGWft+mxiElG9JXEfh3ETrSwuzXsYcE3lKExohwwkl2FEkqdwBA9 XrCN2XaBICSkQlR2WioPFVTq34oC2BkYiYfGSAjp4m2RqceCal4MUOmuhJ7/QdmPTdCS +xvPUZsKXqoyHuh5PX67Npz60fbEImMSExMF6A0Az1E0jROiBxLrUY5Od4OYMYyYji4t JwwNcS+5Lz5nkGGDVCVYOZKlR+4yGcgsQNKNU8TVhKl07lx8AFN4hsgGO7Be2r0ZFKiJ /flrsntgovvu2IbVz+WH+nqs00/5lPRIwgcbPmL0l27a6kCsL1dV4LTPbRekPoDXgGz/ zIlg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:arc-authentication-results; bh=pwKrW6mT4u9JAZLluFBYtFh88wVkaqRFNP7pLqPDvSw=; b=xsyCsrSaSrHV0RFmtAUFUeZW/yUXLwcgU+k5cmfek5XDMkGhe8FYQwXKDXeUDuZWNK GKEjrHgr4ya5Hj3gZi/fpx+bHIse3MHKjP+ZECgJkJvDiToeI1ZQX109dOgmMkKoXgSu ue7UNkEgc2kBmID6V95Jqlwai0R7dYSl/f5UaTl56bAZHfmyzDhDV8TO+vJz3wYdIKbd PcgXCOOt1xYMTIRMgcf2IiP0+lGdWod3IGG/9TZt9LScO6Wf/ulhmSS53fIJhf4yNktA zpl/uUxoxbbNpinMpqqbm+0HjffmspSPGMHyXOs9ndughbGK+9ogc0OzD68iRaC7xDHd rOYg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c7-v6si16827037pfg.308.2018.07.10.00.16.32; Tue, 10 Jul 2018 00:16:47 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751235AbeGJHPc (ORCPT + 99 others); Tue, 10 Jul 2018 03:15:32 -0400 Received: from mail-oi0-f65.google.com ([209.85.218.65]:43054 "EHLO mail-oi0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750937AbeGJHPa (ORCPT ); Tue, 10 Jul 2018 03:15:30 -0400 Received: by mail-oi0-f65.google.com with SMTP id b15-v6so40669710oib.10; Tue, 10 Jul 2018 00:15:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=pwKrW6mT4u9JAZLluFBYtFh88wVkaqRFNP7pLqPDvSw=; b=AnZ0y2WvtqAoOOt+HXTgwej35jzTE9UkYYVadh3h4qUhJ66gOWrE6xp/vuV4ulGe9O 6eQnZ5lSilxZdfM40G9hMVYjIUmpimLGnh2KO8Fh2g3yWr0JJa/NwQ6DiZP/Loy8aiGF 8W6PR+jWc44gi1IVSQ+WPpAYVRZgEyPVbMcx6ft5wtu+1jn8pmS3AOSwaKUhIoJ1d1pv cc8aUOAS29CD9V2bsfMnnsL+TCq83zrIdj+Ch2aPnbmpTa8EXd/7uzvpO71tKacCWPub VQHG4OhSeJc7J6INyHuO8Z1mKlqlwPnGZXV8+zsD/paW5rn5KUnotPcHre/vIW8EMl9i 0sLw== X-Gm-Message-State: APt69E0QlkxOyzQH0koL5xpAe+zxXwmEJwF3lS6fP0E/9tZ9TqvRurSH Axa5+ZU2rE4PfMDsy6U9ZZtIwn4z1yoL3saSjZsG1A2W X-Received: by 2002:aca:758c:: with SMTP id q134-v6mr28498734oic.334.1531206930180; Tue, 10 Jul 2018 00:15:30 -0700 (PDT) MIME-Version: 1.0 References: <20180709135713.8083-1-fancer.lancer@gmail.com> <20180709135713.8083-2-fancer.lancer@gmail.com> In-Reply-To: <20180709135713.8083-2-fancer.lancer@gmail.com> From: Mathieu Malaterre Date: Tue, 10 Jul 2018 09:15:17 +0200 Message-ID: Subject: Re: [PATCH 2/2] mips: mm: Discard ioremap_uncached_accelerated() method To: Serge Semin Cc: Ralf Baechle , Paul Burton , James Hogan , okaya@codeaurora.org, chenhc@lemote.com, Sergey.Semin@t-platforms.ru, Linux-MIPS , LKML , "# v4 . 11" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org ' On Mon, Jul 9, 2018 at 3:57 PM Serge Semin wrote: > > Adaptive ioremap_wc() method is now available (see "mips: mm: > Create UCA-based ioremap_wc() method" commit). We can use it for > UCA-featured MMIO transactions in the kernel, so we don't need > it platform clone ioremap_uncached_accelerated() being declard. > Seeing it is also unused anywhere in the kernel code, lets remove > it from io.h arch-specific header then. > > Signed-off-by: Serge Semin > Singed-off-by: Paul Burton nit: 'Signed' (on both patches) > Cc: James Hogan > Cc: Ralf Baechle > Cc: linux-mips@linux-mips.org > Cc: stable@vger.kernel.org > --- > arch/mips/include/asm/io.h | 8 ++------ > 1 file changed, 2 insertions(+), 6 deletions(-) > > diff --git a/arch/mips/include/asm/io.h b/arch/mips/include/asm/io.h > index babe5155a..360b7ddeb 100644 > --- a/arch/mips/include/asm/io.h > +++ b/arch/mips/include/asm/io.h > @@ -301,15 +301,11 @@ static inline void __iomem * __ioremap_mode(phys_addr_t offset, unsigned long si > __ioremap_mode((offset), (size), boot_cpu_data.writecombine) > > /* > - * These two are MIPS specific ioremap variant. ioremap_cacheable_cow > - * requests a cachable mapping, ioremap_uncached_accelerated requests a > - * mapping using the uncached accelerated mode which isn't supported on > - * all processors. > + * This is a MIPS specific ioremap variant. ioremap_cacheable_cow > + * requests a cachable mapping with CWB attribute enabled. > */ > #define ioremap_cacheable_cow(offset, size) \ > __ioremap_mode((offset), (size), _CACHE_CACHABLE_COW) > -#define ioremap_uncached_accelerated(offset, size) \ > - __ioremap_mode((offset), (size), _CACHE_UNCACHED_ACCELERATED) > > static inline void iounmap(const volatile void __iomem *addr) > { > -- > 2.12.0 > >