WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-ia64-devel

[Xen-ia64-devel] [PATCH] fix serial console detection failure caused by

To: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-ia64-devel] [PATCH] fix serial console detection failure caused by cfbc535ebf6f
From: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
Date: Fri, 4 Jul 2008 11:15:45 +0900
Delivery-date: Thu, 03 Jul 2008 19:15:49 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.6i
# HG changeset patch
# User Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
# Date 1215135417 -32400
# Node ID c693df9b6d554d4af85026e4c493858c92757301
# Parent  ac8bc814faba7f32d575a4530cc23529f17ad790
[IA64] fix serial console detection failure caused by cfbc535ebf6f

This patch fixes serial console detection failure caused by the
changeset cfbc535ebf6f.
The changeset changed struct efi's members value from xen virtual
address to physical address and from NULL to EFI_INVALID_TABLE_ADDR
for non existing table. One check was missed to change.

Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>

diff --git a/xen/arch/ia64/linux-xen/setup.c b/xen/arch/ia64/linux-xen/setup.c
--- a/xen/arch/ia64/linux-xen/setup.c
+++ b/xen/arch/ia64/linux-xen/setup.c
@@ -362,7 +362,7 @@ acpi_oem_console_setup(void)
        int i;
 
        /* Don't duplicate setup if an HCDP table is present */
-       if (efi.hcdp)
+       if (efi.hcdp != EFI_INVALID_TABLE_ADDR)
                return -ENODEV;
 
        /* Manually walk firmware provided tables to get to the XSDT.  */


-- 
yamahata

_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-ia64-devel] [PATCH] fix serial console detection failure caused by cfbc535ebf6f, Isaku Yamahata <=