Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3488859imm; Tue, 17 Jul 2018 05:49:27 -0700 (PDT) X-Google-Smtp-Source: AAOMgpen+pOVUhd6OmcjqI9HNFpZ6O+i8lOTxcn96Bs13bYO78mufuT46IipRAGlBFQjrQjxXePI X-Received: by 2002:a65:62d8:: with SMTP id m24-v6mr1473139pgv.307.1531831767840; Tue, 17 Jul 2018 05:49:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531831767; cv=none; d=google.com; s=arc-20160816; b=CLdSBkRy4zg8YD8bclGoUvnibGwQsigHyPaMZGGb7q5evJo1P/y7dPwbU84AXfujjU 5bj5fNNgykIu/w+k8gAxbmYKkZEaCYYmqJe7fxHGUm5XxEEtb0dnKMM2SgPmrsUPQ/eX cwx6c6IS+uV0kQoRhLS+zUggpFwdwa/TgqT7imbYMc3bi/XfeRIOWty5jIxKXgY6qsQQ oIB2nvKuuQyX/zM+QkmhjvG8b0WGrEoYv0dqWGb/Z1zregpv+0kdirctLweisW0SnvZB 43N1ruPL0SIE8R0ZB9gmjRM1vxEloEUQEPiA0iZ/Y9eddTZuxSGqpHkP4NIUyUZ80NN7 ajEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=kJU4mzvFgSyDMH0hHFRGGTEcAb8pljtaJg5m9yLMyMA=; b=0uGXFk6uXQ1ZkvfgOVR5kOySEn8zxgqWLNJYFzvVqYDy0NaRrwZTfwzX/TZs1lTssa Xi2AWP61wlGWy9z6g6SVukoA8jEVbniXS9oMPEc26t9fC7ypYzmQ7aFoAC5H6i1pN8h2 DE7/pRI2alggmXKzXZvY55wGQcSv2V7WPdbxla+I8LVO6WDrbyokCDI3F89hXRjejqWM Y8H+1UdflTUVb35+/EteTpDdwTvluTpuw9cz0eJmOMfazjD8bbSbDkXcQtHV2Su6GyB7 uyW5CmPNBy+Uy6MZhl5FjECoavWqWU9rHVOyhZsLsodmXOqNHv5/362UcJoVfp0kKXny TwbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=RB1fUSUU; 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 m86-v6si891897pfj.48.2018.07.17.05.49.12; Tue, 17 Jul 2018 05:49:27 -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; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=RB1fUSUU; 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 S1731608AbeGQNU5 (ORCPT + 99 others); Tue, 17 Jul 2018 09:20:57 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:43394 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731196AbeGQNU5 (ORCPT ); Tue, 17 Jul 2018 09:20:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=kJU4mzvFgSyDMH0hHFRGGTEcAb8pljtaJg5m9yLMyMA=; b=RB1fUSUUgSA85D/CLNqdD7CwC mLZtofW/xI5hlv3i446QD6KaXqFBjQwYMFgRWFAsmDq2pK0z/4EwZkO/5Iy0JtOiy/8tjdVctcYpU dTnjNEcoDTg0YB4ygFHZqfV/vThJGed4idV29zzfhMWJ+0+PhfxBiPRoHG2UJhKcFz1M/I54iWEn3 ZPWJWuJ9ASmsMfBGkhZDPuzckdbdBqES8AQ5WOGXX8Tl/cUavCswvuFbeDo7Y6xwLlMeCR5DCN0aU cO8I0BLeoYPQwQKwgdHZJKFrltvEsbIL0KCQnfDaUBy3b8CqSVUMlcs28OHdzesoYeKv3n7N6w9Ms SzUsZOoIA==; Received: from hch by bombadil.infradead.org with local (Exim 4.90_1 #2 (Red Hat Linux)) id 1ffPOs-0006Qr-V7; Tue, 17 Jul 2018 12:48:18 +0000 Date: Tue, 17 Jul 2018 05:48:18 -0700 From: Christoph Hellwig To: Serge Semin Cc: Christoph Hellwig , ralf@linux-mips.org, paul.burton@mips.com, jhogan@kernel.org, okaya@codeaurora.org, chenhc@lemote.com, Sergey.Semin@t-platforms.ru, linux-mips@linux-mips.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: Re: [PATCH 2/2] mips: mm: Discard ioremap_uncached_accelerated() method Message-ID: <20180717124818.GC22099@infradead.org> References: <20180709135713.8083-1-fancer.lancer@gmail.com> <20180709135713.8083-2-fancer.lancer@gmail.com> <20180711065631.GA21948@infradead.org> <20180711135210.GA18730@mobilestation> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180711135210.GA18730@mobilestation> User-Agent: Mutt/1.9.2 (2017-12-15) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 11, 2018 at 04:52:10PM +0300, Serge Semin wrote: > Hello Christoph, > > On Tue, Jul 10, 2018 at 11:56:31PM -0700, Christoph Hellwig wrote: > > > + * 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) > > > > This isn't actually used anywhere in the kernel tree. Please remove it > > as well. > > I don't really know whether it is necessary at this point. We discarded the > ioremap_uncached_accelerated() method, since the obvious alternative is now > available: ioremap_wc(). While ioremap_cacheable_cow() hasn't got one. > So if it was up to me, I'd leave it here. Anyway if the subsystem maintainers > think otherwise, I won't refuse to submit a patch with this method removal. The function is entirely unused in the kernel tree, please remove it.