All of lore.kernel.org
 help / color / mirror / Atom feed
* ARM: ACPI boot failure
@ 2017-02-08  9:27 Vijay Kilari
  2017-02-08 10:10 ` Julien Grall
  0 siblings, 1 reply; 2+ messages in thread
From: Vijay Kilari @ 2017-02-08  9:27 UTC (permalink / raw)
  To: daniel.kiper, Julien Grall, Stefano Stabellini, Andre Przywara; +Cc: xen-devel

Hi Daniel,

   After git bisect, I found that following commit is causing
regression for ARM.
Though efi_flags is set with EFI_BOOT, In xen, efi_enabled() returns 0 and
thereby boot fails with ACPI.
Is it that runtime services are not implemented for ARM,
 efi_flags are returning zero?.

commit 146786b922ea4eeb9643029af3939244aea009c1
Author: Daniel Kiper <daniel.kiper@oracle.com>
Date:   Wed Dec 7 14:36:11 2016 +0100

    efi: create efi_enabled()

    First of all we need to differentiate between legacy BIOS
    and EFI platforms during runtime, not during build, because
    one image will have legacy and EFI code and can be executed
    on both platforms. Additionally, we need more fine grained
    knowledge about EFI environment and check for EFI platform
    and EFI loader separately to properly support multiboot2
    protocol. In general Xen loaded by this protocol uses memory
    mappings and loaded modules in similar way to Xen loaded by
    multiboot (v1) protocol. Hence, create efi_enabled() which
    checks available features in efi_flags. This patch defines
    EFI_BOOT, EFI_LOADER and EFI_RS features. EFI_BOOT is equal
    to old efi_enabled == 1. EFI_RS ease control on runtime
    services usage. EFI_LOADER tells that Xen was loaded
    directly from EFI as PE executable

Regards
Vijay

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: ARM: ACPI boot failure
  2017-02-08  9:27 ARM: ACPI boot failure Vijay Kilari
@ 2017-02-08 10:10 ` Julien Grall
  0 siblings, 0 replies; 2+ messages in thread
From: Julien Grall @ 2017-02-08 10:10 UTC (permalink / raw)
  To: Vijay Kilari, daniel.kiper, Stefano Stabellini, Andre Przywara; +Cc: xen-devel

On 08/02/17 09:27, Vijay Kilari wrote:
> Hi Daniel,

Hello,

>
>    After git bisect, I found that following commit is causing
> regression for ARM.
> Though efi_flags is set with EFI_BOOT, In xen, efi_enabled() returns 0 and
> thereby boot fails with ACPI.
> Is it that runtime services are not implemented for ARM,
>  efi_flags are returning zero?.

There is already a patch on the mailing list (see [1]). Before reporting 
a bug, I would recommend you to skim through the ML to see if someone 
already report it/working on it.

Regards,

[1] <1486063532-12288-1-git-send-email-julien.grall@arm.com>

>
> commit 146786b922ea4eeb9643029af3939244aea009c1
> Author: Daniel Kiper <daniel.kiper@oracle.com>
> Date:   Wed Dec 7 14:36:11 2016 +0100
>
>     efi: create efi_enabled()
>
>     First of all we need to differentiate between legacy BIOS
>     and EFI platforms during runtime, not during build, because
>     one image will have legacy and EFI code and can be executed
>     on both platforms. Additionally, we need more fine grained
>     knowledge about EFI environment and check for EFI platform
>     and EFI loader separately to properly support multiboot2
>     protocol. In general Xen loaded by this protocol uses memory
>     mappings and loaded modules in similar way to Xen loaded by
>     multiboot (v1) protocol. Hence, create efi_enabled() which
>     checks available features in efi_flags. This patch defines
>     EFI_BOOT, EFI_LOADER and EFI_RS features. EFI_BOOT is equal
>     to old efi_enabled == 1. EFI_RS ease control on runtime
>     services usage. EFI_LOADER tells that Xen was loaded
>     directly from EFI as PE executable
>
> Regards
> Vijay
>

-- 
Julien Grall

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-02-08 10:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-08  9:27 ARM: ACPI boot failure Vijay Kilari
2017-02-08 10:10 ` Julien Grall

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.