All of lore.kernel.org
 help / color / mirror / Atom feed
From: Luca Fancellu <Luca.Fancellu@arm.com>
To: Demi Marie Obenour <demi@invisiblethingslab.com>
Cc: Xen developer discussion <xen-devel@lists.xenproject.org>
Subject: Re: [PATCH v2] Grab the EFI System Resource Table and check it
Date: Thu, 31 Mar 2022 12:05:58 +0000	[thread overview]
Message-ID: <C06993F9-42E5-4048-B698-2D4C825D8FA1@arm.com> (raw)
In-Reply-To: <YkWXszMR0/b3BcZg@itl-email>



> On 31 Mar 2022, at 12:57, Demi Marie Obenour <demi@invisiblethingslab.com> wrote:
> 
> On Thu, Mar 31, 2022 at 07:04:34AM +0000, Luca Fancellu wrote:
>> Hi,
>> 
>>> 
>>> diff --git a/xen/arch/arm/efi/efi-boot.h b/xen/arch/arm/efi/efi-boot.h
>>> index 458cfbbed4..398a2411a1 100644
>>> --- a/xen/arch/arm/efi/efi-boot.h
>>> +++ b/xen/arch/arm/efi/efi-boot.h
>>> @@ -187,7 +187,8 @@ static bool __init meminfo_add_bank(struct meminfo *mem,
>>> 
>>> static EFI_STATUS __init efi_process_memory_map_bootinfo(EFI_MEMORY_DESCRIPTOR *map,
>>>                                                UINTN mmap_size,
>>> -                                                UINTN desc_size)
>>> +                                                UINTN desc_size,
>>> +                                                const EFI_MEMORY_DESCRIPTOR *const esrt_desc)
>>> {
>>>    int Index;
>>>    EFI_MEMORY_DESCRIPTOR *desc_ptr = map;
>>> @@ -199,6 +200,7 @@ static EFI_STATUS __init efi_process_memory_map_bootinfo(EFI_MEMORY_DESCRIPTOR *
>>>              desc_ptr->Type == EfiLoaderCode ||
>>>              desc_ptr->Type == EfiLoaderData ||
>>>              (!map_bs &&
>>> +               desc != esrt_desc &&
>> 
>> I was going to test it but this line is breaking arm build.
> 
> Not too surprising; I don’t think I actually built this for ARM.  Can
> you post the error you get?  I’ll send a v3 once that is fixed.

I think I cleaned my logs, but it was an easy one like “desc is not defined”,
probably you were looking for “desc_ptr”?



  reply	other threads:[~2022-03-31 12:06 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-30 20:01 [PATCH v2] Grab the EFI System Resource Table and check it Demi Marie Obenour
2022-03-31  7:04 ` Luca Fancellu
2022-03-31 11:57   ` Demi Marie Obenour
2022-03-31 12:05     ` Luca Fancellu [this message]
2022-04-01 23:14 Demi Marie Obenour
2022-04-04 11:08 ` Luca Fancellu
2022-04-05 19:21   ` Stefano Stabellini
2022-04-05 19:42     ` Luca Fancellu
2022-04-06 10:10 ` Jan Beulich
2022-04-18 21:36   ` Demi Marie Obenour

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-all 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=C06993F9-42E5-4048-B698-2D4C825D8FA1@arm.com \
    --to=luca.fancellu@arm.com \
    --cc=demi@invisiblethingslab.com \
    --cc=xen-devel@lists.xenproject.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.