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.191; helo=szxga05-in.huawei.com; envelope-from=zhaoshenglong@huawei.com; receiver=edk2-devel@lists.01.org Received: from szxga05-in.huawei.com (szxga05-in.huawei.com [45.249.212.191]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 67ED1220757EC for ; Mon, 13 Nov 2017 18:57:09 -0800 (PST) Received: from 172.30.72.59 (EHLO DGGEMS407-HUB.china.huawei.com) ([172.30.72.59]) by dggrg05-dlp.huawei.com (MOS 4.4.6-GA FastPath queued) with ESMTP id DKX00494; Tue, 14 Nov 2017 11:01:06 +0800 (CST) Received: from [127.0.0.1] (10.177.16.142) by DGGEMS407-HUB.china.huawei.com (10.3.19.207) with Microsoft SMTP Server id 14.3.361.1; Tue, 14 Nov 2017 11:00:53 +0800 Message-ID: <5A0A5C36.1000802@huawei.com> Date: Tue, 14 Nov 2017 11:00:06 +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> <5A0705DD.3080205@huawei.com> In-Reply-To: <5A0705DD.3080205@huawei.com> X-Originating-IP: [10.177.16.142] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A0B0203.5A0A5C73.008C, 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: f86bfca42d95feaf33e577e36419d056 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: Tue, 14 Nov 2017 02:57:11 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit On 2017/11/11 22:14, Shannon Zhao wrote: > 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. I've tested this patch for 24 hours without previous issue happening. It does solve this issue I think. Ard, will you submit a patch? Thanks, -- Shannon