From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=45.249.212.190; helo=szxga04-in.huawei.com; envelope-from=zhaoshenglong@huawei.com; receiver=edk2-devel@lists.01.org Received: from szxga04-in.huawei.com (szxga04-in.huawei.com [45.249.212.190]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 6D7D920356879 for ; Sat, 11 Nov 2017 06:11:25 -0800 (PST) Received: from 172.30.72.58 (EHLO DGGEMS414-HUB.china.huawei.com) ([172.30.72.58]) by dggrg04-dlp.huawei.com (MOS 4.4.6-GA FastPath queued) with ESMTP id DKQ16192; Sat, 11 Nov 2017 22:15:20 +0800 (CST) Received: from [127.0.0.1] (10.177.16.142) by DGGEMS414-HUB.china.huawei.com (10.3.19.214) with Microsoft SMTP Server id 14.3.361.1; Sat, 11 Nov 2017 22:15:10 +0800 Message-ID: <5A0705DD.3080205@huawei.com> Date: Sat, 11 Nov 2017 22:14:53 +0800 From: Shannon Zhao User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: Ard Biesheuvel CC: "edk2-devel@lists.01.org" , Laszlo Ersek References: <5A06E371.2080108@huawei.com> In-Reply-To: X-Originating-IP: [10.177.16.142] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A020203.5A0705F8.0082, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0, ip=0.0.0.0, so=2014-11-16 11:51:01, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: 93c3ece18da0c3a00f3647f079b48cc0 Subject: Re: edk2 occur Data abort: Alignment fault on ARM64 X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Nov 2017 14:11:27 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Hi Ard, On 2017/11/11 19:55, Ard Biesheuvel wrote: > On 11 November 2017 at 11:48, Shannon Zhao wrote: >> > Hi, >> > >> > I'm using UDK2017(commit is eea98ee UefiCpuPkg/MpLib: fix potential >> > overflow issue.) to start a VM on ARM64. But I got below exception >> > sometimes. While I debug this issue, I didn't find some valuable >> > information. Do you have any suggestion? Thanks. >> > > Could you try this please? > > diff --git a/ArmVirtPkg/ArmVirt.dsc.inc b/ArmVirtPkg/ArmVirt.dsc.inc > index c92a69281ae4..6b38c9b21f80 100644 > --- a/ArmVirtPkg/ArmVirt.dsc.inc > +++ b/ArmVirtPkg/ArmVirt.dsc.inc > @@ -228,6 +228,7 @@ > MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf > > [LibraryClasses.common.DXE_RUNTIME_DRIVER] > + BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf > MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf > CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf > I test this and looks like it works so far. I will test it for longer timer. Thanks a lot. -- Shannon