From: Shannon Zhao <zhaoshenglong@huawei.com>
To: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: "edk2-devel@lists.01.org" <edk2-devel@lists.01.org>,
Laszlo Ersek <lersek@redhat.com>
Subject: Re: edk2 occur Data abort: Alignment fault on ARM64
Date: Tue, 14 Nov 2017 11:00:06 +0800 [thread overview]
Message-ID: <5A0A5C36.1000802@huawei.com> (raw)
In-Reply-To: <5A0705DD.3080205@huawei.com>
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 <zhaoshenglong@huawei.com> 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
prev parent reply other threads:[~2017-11-14 2:57 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-11 11:48 edk2 occur Data abort: Alignment fault on ARM64 Shannon Zhao
2017-11-11 11:55 ` Ard Biesheuvel
2017-11-11 14:14 ` Shannon Zhao
2017-11-14 3:00 ` Shannon Zhao [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5A0A5C36.1000802@huawei.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox