Received: by 2002:ac0:8c9a:0:0:0:0:0 with SMTP id r26csp146674ima; Fri, 1 Feb 2019 00:51:41 -0800 (PST) X-Google-Smtp-Source: ALg8bN42X49R50KvqFb0iKYpdMMSkXl5JIxDVn78QMjADVFnHM73u5Clo169GqmacBnm6YJzBxXX X-Received: by 2002:a17:902:b592:: with SMTP id a18mr38580287pls.293.1549011101374; Fri, 01 Feb 2019 00:51:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549011101; cv=none; d=google.com; s=arc-20160816; b=ijvSI1QEzDtpKdlPQl/tMWpaLVQiUMte23sC2C0AVAvJJuGKXsCclWleCpEOANxvBB hQwId9TGIrODv6dUkX6jEobErTUUJpnVY7+Uti3tsmZHrPPdScLjW2qMfBZpe97U3F1A kKN3CcHhCWSW5Q5TqgfWvKRGYE9ich+ylVpP63dz7vJgLdYVxB49XkhAvG7fBn+hzi62 VODYzvmwZnROEP8z2U+XoqeFg8lO1W4qB3bTuwlS1N3jX9/WZKhoQM4nbcPzmlFeauRc znSbdeXXRjEdstRd1UcUyaLP23S0Khu+ad9Ny3GIpVLAO/Gb0PHRWyag2JExo/mh/+hE V73A== 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; bh=ikQmwCOudLvuAUASG4XFzhMNNaczJkM8u308x81NbX4=; b=iKLfYYEcGQ4UenJ4CYUEtGHN32k/QFWe9IpxD2Ypyn+GFvgxCovtp/Vq0M1E2XPx1A SjaQlUV04rGUwZNaJivMHv3NjkWJ70d6AQFyzg9JJVMPgfo4cnTziAhCtiK9F2K6oWi0 wh4xbaTJm7WkqSv/Qxl8uVlaHoU1tWp6y1AgQfWZ+erNWv52nePAq4tqQ7K1C4+VXAqT C8cnJInThTlD/TlWODxDC7EwA8GWd1G/rOJObXVegimeHb6QreHbx1cZJvWSCuDfk1Qp 1GzrGJtbRX3yO8UuRMnpe4R4qz5oSfuBNobJDFxeyPSWC5eVwshGZvxdaSUi4PBAn4oW yDsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=ddQtbKnN; 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 k15si6751986pgi.99.2019.02.01.00.51.26; Fri, 01 Feb 2019 00:51:41 -0800 (PST) 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=ddQtbKnN; 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 S1728189AbfBAIfl (ORCPT + 99 others); Fri, 1 Feb 2019 03:35:41 -0500 Received: from bombadil.infradead.org ([198.137.202.133]:34062 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726760AbfBAIfl (ORCPT ); Fri, 1 Feb 2019 03:35:41 -0500 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=ikQmwCOudLvuAUASG4XFzhMNNaczJkM8u308x81NbX4=; b=ddQtbKnNliZGFyxl5G3Q2Mlle +Tf3hgkev9Wfrpjsvx6S1yP7BS8HGBqwLM9udCEoNd6veVybFNstPYQTLL1l9zSHXxABmsBJDJL80 hLpdBY9SDU7+Iv4d1hd6x66NMA4EBNV+Qjo9b1xRCDML4PhBrsWZeoxv7b4eMQuTMjplgW0ZZow6Z o9uwPXkrIuRPuqLkkmmSNoResIoGjNy2oudGSTlMq2j6xw82tYJ0TqNQWn6s4AIUE6iEgjPczXlaZ QYBUb8Vny5/6dlkq1jr/CLA3bNywkcjrZZHG8OvAG6Nc4t8NDfVrddNbZURjZr+33TaFckKs9hEHU fmrTxtCaA==; Received: from hch by bombadil.infradead.org with local (Exim 4.90_1 #2 (Red Hat Linux)) id 1gpUI8-0003p5-A7; Fri, 01 Feb 2019 08:35:16 +0000 Date: Fri, 1 Feb 2019 00:35:16 -0800 From: Christoph Hellwig To: Christophe Leroy Cc: Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Subject: Re: [PATCH] powerpc: drop page_is_ram() and walk_system_ram_range() Message-ID: <20190201083516.GA21946@infradead.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 Thu, Jan 31, 2019 at 07:28:49PM +0000, Christophe Leroy wrote: > Since commit c40dd2f76644 ("powerpc: Add System RAM to /proc/iomem") > it is possible to use the generic walk_system_ram_range() and > the generic page_is_ram(). > > Fixes: c40dd2f76644 ("powerpc: Add System RAM to /proc/iomem") > Signed-off-by: Christophe Leroy > --- > arch/powerpc/Kconfig | 3 --- > arch/powerpc/include/asm/page.h | 1 - > arch/powerpc/mm/mem.c | 33 --------------------------------- > 3 files changed, 37 deletions(-) > > diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig > index 0a26e0075ce5..0006ca6a7664 100644 > --- a/arch/powerpc/Kconfig > +++ b/arch/powerpc/Kconfig > @@ -479,9 +479,6 @@ config ARCH_CPU_PROBE_RELEASE > config ARCH_ENABLE_MEMORY_HOTPLUG > def_bool y > > -config ARCH_HAS_WALK_MEMORY > - def_bool y powerpc was the last architecture to define ARCH_HAS_WALK_MEMORY, so the symbol can be removed now.