Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp33551ybd; Fri, 28 Jun 2019 13:59:45 -0700 (PDT) X-Google-Smtp-Source: APXvYqw1kT+hqghwvgtw58c7nF/k0Gj9+9cWXnCtE7yRhp8MRz+px3lySeQnb7ArEQb+FK/06cZ5 X-Received: by 2002:a17:902:30a3:: with SMTP id v32mr14143108plb.6.1561755584979; Fri, 28 Jun 2019 13:59:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561755584; cv=none; d=google.com; s=arc-20160816; b=aK2+jet/AUkNSPoWpEe7lk+DLfmkYIvthTyiQNOJF1Xz53vdGN5yFmjYJsHP2mLFt2 Xit7KsPTsnrJ+PMEfZvr7h/4aU91h0mlbCqhMwfKE1hJuC0Dtr4M96tPnYSBH2p2fAfN ud+xDGjgBygeUqHKBJrJ8DGgJ+1DJLJXqVhsHW7VZVUbgNFAHkJjC1o5Rtp67NWHMs8D JMjxbd+Hp6BOb3iX3BYUqwPVEWlnCZpEX4WZr9PwfKlUezzbTZSDBdhln8/XWseJ2AwP C4MoxdmFwAE+y0qlp2GpGxgp+V3ZZD7cjSP1nwErhgPapU+nwDgwz48Wyn5LFKpyEfNB J4/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date:dkim-signature; bh=STUNHcZ4hxOZiod6u/3V1J8ZChBosSMoQGGe/lSDBs0=; b=B/QJ5OVC23HGi+X/cZ+MFvuXMB3O77Jk/6Rs9THhcbC58fTbpogsf3sGcBzWX2I2Ud rwCqJg9G9LpJGFd+9NsbPNh2Ud1MLN7HERE9rvRHE+r4CUP17QXB8/q0dfUV8ZjHWXkC ff0qogrskkb+Vqcjg7cOJCHNGrCcWMoXd5LDWVOLboSEeIRRIExCjTPy+qmAlUtOIiXB 0VXY0sbRZ1N0/VJIa5QoN1X1yJD/HA5XejirSobGgV9InZZzZOX5NjrsEMykH5sLBlol 2G90tmn37qo8xEmab7wD2NkTr3LmtOGL9BmjcAv5tMiJ7HWY1qTcle7YX/SH3jzCdyi9 BDfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=ghENWpAA; 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 y14si3528787pfr.82.2019.06.28.13.59.27; Fri, 28 Jun 2019 13:59:44 -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=pass header.i=@sifive.com header.s=google header.b=ghENWpAA; 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 S1726672AbfF1U7R (ORCPT + 99 others); Fri, 28 Jun 2019 16:59:17 -0400 Received: from mail-io1-f65.google.com ([209.85.166.65]:45487 "EHLO mail-io1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726537AbfF1U7R (ORCPT ); Fri, 28 Jun 2019 16:59:17 -0400 Received: by mail-io1-f65.google.com with SMTP id e3so15299362ioc.12 for ; Fri, 28 Jun 2019 13:59:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=date:from:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=STUNHcZ4hxOZiod6u/3V1J8ZChBosSMoQGGe/lSDBs0=; b=ghENWpAAVzjbt6oM5hyVzf70X1DiGlFi89Bdqe+7m0aOwd0gs6r55kdMdjWrE3ONfx JaH14I+2HCdc/eCei6DpI4p6c0FNK9z0ygDH0qvEjwGggxSvd8ikRv3/OHjVFZMPjpMz jqbJHQV1/IJf+VdXISXfgT2VByp1YtvqGI3BWUsLtyZxTExbYxReW9zWUlz7b1Br5k60 bGUbiq0ZY9id6VJqboNCXDb5vZv8e9UVboLJ4Vz8b0Xr25u6RJ6CsYcgT2zxlmcIi6ZK M7VUqWqwSNocDJfSHYoKa9/pdWcrAP1AAxoGny8AZgQ+TH4vxaQ0g9OSfGP8mMZzEvhf bM8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=STUNHcZ4hxOZiod6u/3V1J8ZChBosSMoQGGe/lSDBs0=; b=X/Z6sDAydIPVF9400Js//wyJRs946Kp9VXHUiqdv1ZwJA8co28nrPfo2MMek82Es21 p0AcsQJhdvioF2xQEESQZ+/i4ubHDHNCUJ4pykqMJCyGQWEJ83ceXZKimknc1Xm8eVwC YWMf75wK/S3gABqrfhzUGmGY/W9CgG25IUT9QsoXi4otwJxTLH3OrILCmI+KakmGKMso TUV7JHHeQRzytHHXRGEW8oqZMrT/+ckl/Y4OOMJ5lyTtWuf4ZkWS+rpT4NvSbQR/CfNp AoKH09eUyq1/IcM2Me+1XTssvHH0SPfl3zvghK5k0rGODi04EX1Ntxl96a0tzb+8SdRa OFEw== X-Gm-Message-State: APjAAAXhzxVM2n6kL7T6o4QS5FfyhHgcQRIKzonH9MHOtXM1aiikExcA axFRBKQ9K3nBXpjA4x9orwm2VQ== X-Received: by 2002:a5d:96d8:: with SMTP id r24mr2537366iol.269.1561755556522; Fri, 28 Jun 2019 13:59:16 -0700 (PDT) Received: from localhost (c-73-95-159-87.hsd1.co.comcast.net. [73.95.159.87]) by smtp.gmail.com with ESMTPSA id n21sm2918468ioh.30.2019.06.28.13.59.15 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Fri, 28 Jun 2019 13:59:15 -0700 (PDT) Date: Fri, 28 Jun 2019 13:59:15 -0700 (PDT) From: Paul Walmsley X-X-Sender: paulw@viisi.sifive.com To: Anup Patel cc: Palmer Dabbelt , Albert Ou , Atish Patra , Christoph Hellwig , Mike Rapoport , "linux-riscv@lists.infradead.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH v5 1/2] RISC-V: Fix memory reservation in setup_bootmem() In-Reply-To: <20190607060049.29257-2-anup.patel@wdc.com> Message-ID: References: <20190607060049.29257-1-anup.patel@wdc.com> <20190607060049.29257-2-anup.patel@wdc.com> User-Agent: Alpine 2.21.9999 (DEB 301 2018-08-15) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 7 Jun 2019, Anup Patel wrote: > Currently, the setup_bootmem() reserves memory from RAM start to the > kernel end. This prevents us from exploring ways to use the RAM below > (or before) the kernel start hence this patch updates setup_bootmem() > to only reserve memory from the kernel start to the kernel end. > > Suggested-by: Mike Rapoport > Signed-off-by: Anup Patel > Reviewed-by: Christoph Hellwig Thanks, queued for v5.3. - Paul