From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Grall Subject: Re: [PATCH FOR-4.5] xen: arm64: Handle memory banks which are not 1GB aligned Date: Mon, 13 Oct 2014 13:45:17 +0100 Message-ID: <543BC95D.5030403@linaro.org> References: <1412952194-3595-1-git-send-email-ian.campbell@citrix.com> <543879AD.70402@amd.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Vijay Kilari , Suravee Suthikulanit Cc: Roy Franz , Stefano Stabellini , Tim Deegan , Ian Campbell , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org On 10/13/2014 01:35 PM, Vijay Kilari wrote: > Hi Roy, Hi all, > I too observe the same issue. I have enabled uefi_debug > > (XEN) DOM0: bootconsole [uart0] enabled > (XEN) DOM0: Memory limited to 512MB > (XEN) DOM0: efi: Getting parameters from FDT: > (XEN) DOM0: efi: System Table: 0x000000007fb79f18 > (XEN) DOM0: efi: MemMap Address: 0x000000007a88c018 > (XEN) DOM0: efi: MemMap Size: 0x000004e0 > (XEN) DOM0: efi: MemMap Desc. Size: 0x00000030 > (XEN) DOM0: efi: MemMap Desc. Version: 0x00000001 > (XEN) DOM0: Unhandled fault: ttbr address size fault (0x96000000) at > 0xffffffbffbc7ff18 > (XEN) DOM0: Internal error: : 96000000 [#1] PREEMPT SMP > (XEN) DOM0: Modules linked in: > (XEN) DOM0: CPU: 0 PID: 0 Comm: swapper Not tainted 3.16.0-rc4+ #3 > (XEN) DOM0: task: ffffffc0007048a0 ti: ffffffc0006f8000 task.ti: > ffffffc0006f8000 > (XEN) DOM0: PC is at uefi_init+0x94/0x1a0 > (XEN) DOM0: LR is at uefi_init+0x84/0x1a0 > > I have not digged into the issue. Xen has not mapped this table to Dom0? DOM0 should only boot with Device Tree and not using EFI. I suspect that Xen is copying the EFI properties/nodes in the DOM0 DT. We have to remove at least the following parameters from the device tree: - linux,uefi-system-table - linux,uefi-mmap-start - linux,uefi-mmap-size - linux,uefi-mmap-desc-size - linux,uefi-mmap-desc-ver Regards, -- Julien Grall