Re: [PATCH 10/12] kexec: arrange for paddr_vmcoreinfo_note() to return phys_addr_t
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: Baoquan He <bhe@xxxxxxxxxx>
- Subject: Re: [PATCH 10/12] kexec: arrange for paddr_vmcoreinfo_note() to return phys_addr_t
- From: Pratyush Anand <panand@xxxxxxxxxx>
- Date: Tue, 3 May 2016 11:23:29 +0530
- Cc: Russell King <rmk+kernel@xxxxxxxxxxxxxxxx>, Mark Rutland <mark.rutland@xxxxxxx>, devicetree@xxxxxxxxxxxxxxx, Ian Campbell <ijc+devicetree@xxxxxxxxxxxxxx>, Tony Luck <tony.luck@xxxxxxxxx>, linux-ia64@xxxxxxxxxxxxxxx, Pawel Moll <pawel.moll@xxxxxxx>, linux-doc@xxxxxxxxxxxxxxx, Jonathan Corbet <corbet@xxxxxxx>, kexec@xxxxxxxxxxxxxxxxxxx, Fenghua Yu <fenghua.yu@xxxxxxxxx>, Vivek Goyal <vgoyal@xxxxxxxxxx>, Haren Myneni <hbabu@xxxxxxxxxx>, Rob Herring <robh+dt@xxxxxxxxxx>, Eric Biederman <ebiederm@xxxxxxxxxxxx>, Santosh Shilimkar <ssantosh@xxxxxxxxxx>, Kumar Gala <galak@xxxxxxxxxxxxxx>, linux-arm-kernel@xxxxxxxxxxxxxxxxxxx
- In-reply-to: <20160503042441.GA2518@x1.redhat.com>
- List-id: <linux-ia64.vger.kernel.org>
- References: <20160428092644.GX19428@n2100.arm.linux.org.uk> <E1aviFP-0000je-5t@rmk-PC.arm.linux.org.uk> <CAHB_Gur-6oyEheN-Pom7OwivdvrQpCBaXvM1V2H0JPFRCFZthA@mail.gmail.com> <20160429151639.GC23726@leverpostej> <CAHB_GurwYqPbccLU9UHppLxbBr4Cfs47myKAer-RJicT=T7uBw@mail.gmail.com> <20160503042441.GA2518@x1.redhat.com>
- User-agent: Mutt/1.5.24 (2015-08-30)
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
--
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Index of Archives]
[Linux Kernel]
[Sparc Linux]
[DCCP]
[Linux ARM]
[Yosemite News]
[Linux SCSI]
[Linux x86_64]
[Linux for Ham Radio]