From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-pf0-f177.google.com ([209.85.192.177]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1axTHO-0005Bv-60 for kexec@lists.infradead.org; Tue, 03 May 2016 05:53:55 +0000 Received: by mail-pf0-f177.google.com with SMTP id y69so5366760pfb.1 for ; Mon, 02 May 2016 22:53:33 -0700 (PDT) Date: Tue, 3 May 2016 11:23:29 +0530 From: Pratyush Anand Subject: Re: [PATCH 10/12] kexec: arrange for paddr_vmcoreinfo_note() to return phys_addr_t Message-ID: <20160503055329.GA13045@dhcppc6.redhat.com> References: <20160428092644.GX19428@n2100.arm.linux.org.uk> <20160429151639.GC23726@leverpostej> <20160503042441.GA2518@x1.redhat.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20160503042441.GA2518@x1.redhat.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "kexec" Errors-To: kexec-bounces+dwmw2=infradead.org@lists.infradead.org To: Baoquan He Cc: Mark Rutland , devicetree@vger.kernel.org, Tony Luck , linux-ia64@vger.kernel.org, Pawel Moll , Ian Campbell , linux-doc@vger.kernel.org, kexec@lists.infradead.org, Fenghua Yu , Haren Myneni , Rob Herring , Eric Biederman , Santosh Shilimkar , Russell King , Jonathan Corbet , Kumar Gala , Vivek Goyal , linux-arm-kernel@lists.infradead.org Hi Baoquan, On 03/05/2016:12:24:41 PM, Baoquan He wrote: > Hi Pratyush, > > Could you please help tell why arm PAE kernel can be put above 4G? PAE system can have physical addresses above 4G. So, if a CPU is supporting the LPAE page table format then we should be able to access physical addresses beyond 4G. > Since the change is related to common code, I am curious about how > it's so different with other ARCHs. paddr_vmcoreinfo_note() returns a physical address, so returning phys_addr_t seems most appropriate. So, kernel variable may land into above 4G locations, even with the platform in other architecture (with PAE support), if start of RAM is located very high, So, in my opinion it would be safer to have these changes for other ARCHs as well. ~Pratyush _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec