Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp3004741imm; Mon, 24 Sep 2018 13:56:54 -0700 (PDT) X-Google-Smtp-Source: ACcGV62ByYdLWsC/LRVPFXe0yYGVg0OYScjwT4qJ73ruZcPZ169+g9TArYRe20Wu8ARy7xrZ9aau X-Received: by 2002:a17:902:4a0c:: with SMTP id w12-v6mr435799pld.289.1537822614586; Mon, 24 Sep 2018 13:56:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537822614; cv=none; d=google.com; s=arc-20160816; b=C6zYjMi/zuakpoIFIymOhH0cLuLEG4na0lDk77LymLnc/P7WG92AXQTSOjc8FlF/Ih Q6KnT9XT6CBDMmr4jrCrjuzDf8J4La8VhPNLxy3xu5gbCG7u/Tr3bUnCCgQ8mlyam4O/ ryQWPXOvKovmPoUM6LyzI1AUaxuxRFJGr4rWgPa4XUkzNXUEB/NWgGzYI6EeYcrOmOP6 u+CAHyAernDu5CkY7dF0x0+AcI+Rdhu4n5APowz7TGgi5NQcHkyauAQScwf80dFrnUqc +XeWW/Se0I8Zrzx9y2yfwa6cvBwIH/LSnk+vz7ITjF4XAEUvmIeo4BxeqTZPuFREEti0 Iv1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=Moh3jlnB4LAik7xhYmQfdXcJpooEfD0O8K5BFsg531E=; b=f2Uh7aXVZwuXgvJkSFBeEZ4FV2PHYuUlkdVqq5pwJJlilQfFQQR3qaKx/dZYDcFRVg 08Qdrwv8c/fqmKRTxCg+I543tuGtSuYcHecTXYaPE45hCpeFyqD6LMsmJSJf/GyueVlf 79Ab/Y837v9o56hgO+r0y2CC8uu/WAh+qclwop6K286kdAQZFVSvnFB55Isz9MA2ukMc mFVoKf+IDy9aK1axj6uwAOHeyKqTo1nslJiSPGQgnbZpk17FgmV9Mr6Y2mZwKsWtsRwt 7OWxUnT0oFb5KjyqCpoVxQrzJMR5/OkAv/hNKS+u4yFN0Kuy0ghZYnDZXcohPwNb5LSC 8c6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=okLMIFFa; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=wdc.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w126-v6si333843pfb.232.2018.09.24.13.56.39; Mon, 24 Sep 2018 13:56:54 -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=@wdc.com header.s=dkim.wdc.com header.b=okLMIFFa; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=wdc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728199AbeIYC7H (ORCPT + 99 others); Mon, 24 Sep 2018 22:59:07 -0400 Received: from esa2.hgst.iphmx.com ([68.232.143.124]:51421 "EHLO esa2.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727659AbeIYC7H (ORCPT ); Mon, 24 Sep 2018 22:59:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1537822511; x=1569358511; h=subject:to:cc:references:from:message-id:date: mime-version:in-reply-to:content-transfer-encoding; bh=7HoNZHAIVceRRl8V9absbQdxVJL1GpmgDBfkNWWq6Fc=; b=okLMIFFaPP3IG8m6FC5j913N/TM/MYFZqWYwXk/u+i8NEZKakW42k7tM 6gzdX4ZvQEOKxgzLs+arSVChuHuD+lqgTnrL9AZp7qo6sajRFk8ohfluA LosZJKv8E02lrU+KoEIvx3R0y+g8F2Zkec/qSBnwnohZlPVni0GTwTr/B 2LOWYkYDQhCcR7m7duQ3KnwnXw2lXQCeq1dYayBJby6EV48YPGYUzApiA tD90pPUCZ2/lVX4myPBTDx9MYiSOcQ8JtZ3ruD7rRjInMtPbNEHGNjs07 8ViUVG60T6cFGSE61gZziZacOewMFFtqJ4j4T5/fKUHlB7IQBHYffaj9H g==; X-IronPort-AV: E=Sophos;i="5.54,299,1534780800"; d="scan'208";a="188061111" Received: from uls-op-cesaip01.wdc.com (HELO uls-op-cesaep01.wdc.com) ([199.255.45.14]) by ob1.hgst.iphmx.com with ESMTP; 25 Sep 2018 04:55:11 +0800 Received: from uls-op-cesaip01.wdc.com ([10.248.3.36]) by uls-op-cesaep01.wdc.com with ESMTP; 24 Sep 2018 13:41:01 -0700 Received: from c02v91rdhtd5.sdcorp.global.sandisk.com (HELO [10.196.159.148]) ([10.196.159.148]) by uls-op-cesaip01.wdc.com with ESMTP; 24 Sep 2018 13:55:05 -0700 Subject: Re: [PATCH] RISCV: Fix end PFN for low memory To: "palmer@sifive.com" Cc: Christoph Hellwig , "linux-riscv@lists.infradead.org" , Damien Le Moal , "anup@brainfault.org" , "linux-kernel@vger.kernel.org" , "terpstra@sifive.com" References: <1536690618-9157-1-git-send-email-atish.patra@wdc.com> <20180917140816.GA28689@infradead.org> From: Atish Patra Message-ID: <50f35396-9e2b-c177-6a96-9c450c7abdde@wdc.com> Date: Mon, 24 Sep 2018 13:55:04 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20180917140816.GA28689@infradead.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 9/17/18 7:08 AM, Christoph Hellwig wrote: > On Tue, Sep 11, 2018 at 11:30:18AM -0700, Atish Patra wrote: >> Use memblock_end_of_DRAM which provides correct last low memory >> PFN. Without that, DMA32 region becomes empty resulting in zero >> pages being allocated for DMA32. >> >> This patch is based on earlier patch from palmer which never >> merged into 4.19. I just edited the commit text to make more >> sense. > > Looks good, > > Reviewed-by: Christoph Hellwig > > Palmer, can you queue this up for 4.19? > Hi Palmer, I did not see this one pulled into your rc6 PR. Not sure if it was intentional or just lost in heap of emails. Regards, Atish