From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Rutland Subject: Re: [PATCH] efi/libstub/arm*: Set default address and size cells values for an empty dtb Date: Tue, 7 Feb 2017 19:06:02 +0000 Message-ID: <20170207190602.GH26173@leverpostej> References: <1486490390-25251-1-git-send-email-jhugo@codeaurora.org> <1f47fcdd-c5d8-4082-70a3-ca9b1746d7ca@codeaurora.org> <20170207190113.GG26173@leverpostej> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20170207190113.GG26173@leverpostej> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: Jeffrey Hugo Cc: Sameer Goel , "linux-efi@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , Ard Biesheuvel List-Id: linux-efi@vger.kernel.org On Tue, Feb 07, 2017 at 07:01:14PM +0000, Mark Rutland wrote: > On Tue, Feb 07, 2017 at 11:54:55AM -0700, Jeffrey Hugo wrote: > > Kexec attempts to insert these values in the fdt. The fdt only > > accepts 32-bit values, so it truncates what is put in. Then later > > kexec/kdump read the values from the fdt, and get garbage. > > I take it this is specific to the kdump properties? > > I can't immediately see what would matter for the !kdump case. > properties inserted under /chosen are not truncated? Whoops; please ignore the last line. I'd meant to delete that (and it obviously makes no sense). Mark.