[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] x86/EFI: fix runtime call status for compat mode Dom0


  • To: Jan Beulich <JBeulich@xxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxx>
  • From: Keir Fraser <keir.xen@xxxxxxxxx>
  • Date: Fri, 26 Apr 2013 15:16:57 +0100
  • Delivery-date: Fri, 26 Apr 2013 14:17:54 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xen.org>
  • Thread-index: Ac5CiLWY3hc85144Ik6v7okJRridWA==
  • Thread-topic: [Xen-devel] [PATCH] x86/EFI: fix runtime call status for compat mode Dom0

On 26/04/2013 14:35, "Jan Beulich" <JBeulich@xxxxxxxx> wrote:

> The top two bits (indicating error/warning classification) need to
> remain the top two bits.
> 
> Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>

Acked-by: Keir Fraser <keir@xxxxxxx>

> --- a/xen/arch/x86/efi/runtime.c
> +++ b/xen/arch/x86/efi/runtime.c
> @@ -531,7 +531,7 @@ int efi_runtime_call(struct xenpf_efi_ru
>  #ifndef COMPAT
>      op->status = status;
>  #else
> -    op->status = (status & 0x3fffffff) | (status >> 62);
> +    op->status = (status & 0x3fffffff) | ((status >> 32) & 0xc0000000);
>  #endif
>  
>      return rc;
> 
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxx
> http://lists.xen.org/xen-devel



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.