Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp662025imj; Wed, 13 Feb 2019 15:12:48 -0800 (PST) X-Google-Smtp-Source: AHgI3IYbaOaceFsJfuCyrEFp9tjHVnj640iMJsQFc2r7PGaDmJ4V9MyWIjZwAW9PoKj0nSYRgMa3 X-Received: by 2002:a63:1a0d:: with SMTP id a13mr660088pga.202.1550099568457; Wed, 13 Feb 2019 15:12:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550099568; cv=none; d=google.com; s=arc-20160816; b=uK0fe5AJSA/yPoys2CTw3FCequcD6NjXxUU8uNAHkwgse0yG2m7NGV0dQX0JBeH5q0 3EsinsQpcyBcUx/Latx7sq+nsY6l/L6g4Ss13LD3TjpLmFrlzDCudRwEwNd1rC8XqdO4 4C6HeXncczUwnS84fb7YHFTCv8q8XORt1Dv2XHAX9aqSFNPeSTSGKTA0hVfFLrvjXxHo +H5vKnZ5DBfZM4b+bK6jAx23QPzCyR/IVREwOzZTYlW7oN+Sndwul6s2etk8+q8qFBKI dmp8C7XU+i9+r/Bi0Y1mcBlAs3TBBO5ZEKb7f93a+5YkphWC7yR/npakNDGjREoPVA+D aExQ== 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=31As72HmY/5vPL/vNBqSMGT7dQJ5eUWsX/RIGnW7RpU=; b=CbbJMx4GYiRxRW7cUTRCb3dhA3xOhPaA+rPx0KLjI2+tOVDJoaAHBN/4EDa3CeRAd0 Pk2yyA7w1Xy+BxaY9Sk4sXQqvvcKpL3FGRQ7DpsDIXsjcj3UIbnxP3QRz5hsZwzGA52Q 3Bj+TZrGMIWH2o10Ft9u8DjbJv5el7zanUo7ZxRdEc432JcqLzYzjAwRO9+/UWR96qmn ez7ECgDCj5fZMtUEvOnmiPL1ZU96HS5WIqteRTlif+nv5YevURKFd+oLAz9UueUtEJL7 fxfeKr3PXWIiC5Kbu4aap1G6OpX/48xO5Jt0WMvTOnWh3HFpxPRcXP5bzuFUFikE8wjU 0OoQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b="Yr18yT/o"; 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 gn22si628523plb.19.2019.02.13.15.12.32; Wed, 13 Feb 2019 15:12:48 -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="Yr18yT/o"; 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 S2393401AbfBMRyS (ORCPT + 99 others); Wed, 13 Feb 2019 12:54:18 -0500 Received: from bombadil.infradead.org ([198.137.202.133]:42862 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2393391AbfBMRyR (ORCPT ); Wed, 13 Feb 2019 12:54:17 -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=31As72HmY/5vPL/vNBqSMGT7dQJ5eUWsX/RIGnW7RpU=; b=Yr18yT/o/W3aw3SnLVQKGOLf+ 4bnjvAOls61Dc5jJ40BPSdySq+7B7lSmGPVIFeK0Wmx5D/R+EBf4nBNJFviYvXHZZ/rMNPJWpYGy/ 5lmgt2NUbuzExUvo0j5R+igJTYDy8oh/oAva7B7gFiEnwxCWA9pJntOrVxdmvQoCTGFfrS1dp5XJp PC+AprN3ZLRszzBvIxFi84g3smIeloQsWvtTi4kEn+F+thCnZCfH33yoAQ19ZSoQzIdCw0QFzincU G15lmveYvK9gxUO5rtPsZS+0fZoQHx5kxP/rM9Trm1bVJ3xZo9MmE+uQEUpxoIn9kg5inXJTvOQn2 VqUJYmCdg==; Received: from hch by bombadil.infradead.org with local (Exim 4.90_1 #2 (Red Hat Linux)) id 1gtyjf-0004CM-Bs; Wed, 13 Feb 2019 17:54:15 +0000 Date: Wed, 13 Feb 2019 09:54:15 -0800 From: Christoph Hellwig To: Mike Rapoport Cc: Christoph Hellwig , Anup Patel , Palmer Dabbelt , Albert Ou , Atish Patra , Paul Walmsley , "linux-riscv@lists.infradead.org" , "linux-kernel@vger.kernel.org" , Laura Abbott , CHANDAN VN , Will Deacon Subject: Re: [PATCH v4 6/6] RISC-V: Free-up initrd in free_initrd_mem() Message-ID: <20190213175415.GA11635@infradead.org> References: <20190213063127.28703-1-anup.patel@wdc.com> <20190213063127.28703-7-anup.patel@wdc.com> <20190213064419.GA27012@infradead.org> <20190213073835.GA18267@rapoport-lnx> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190213073835.GA18267@rapoport-lnx> 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, Feb 13, 2019 at 09:38:36AM +0200, Mike Rapoport wrote: > memblock_free() is has no real effect at this point, no idea why arm64 > calls it. Looks like the call was added fairly recently by: commit 05c58752f9dce11e396676eb731a620541590ed0 Author: CHANDAN VN Date: Mon Apr 30 09:50:18 2018 +0530 arm64: To remove initrd reserved area entry from memblock which claims it is to work around the initrd being displayed in /sys/kernel/debug/memblock/reserved. I really think we need to have common behavior there - either do this for all architectures or none. I've just sent a series that consolidates all but a handful of the free_initrd_mem, so implementing any common behavior on top of that would be good.