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-changelog

[Xen-changelog] [xen-unstable] [IA64] passthrough EFI_ACPI_MEMORY_NVS an

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [IA64] passthrough EFI_ACPI_MEMORY_NVS and EFI_RESERVED_TYPE
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 16 Jun 2006 18:40:51 +0000
Delivery-date: Fri, 16 Jun 2006 11:45:33 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User awilliam@xxxxxxxxxxx
# Node ID 6fdafeeb88bb70674704ebf63bb2b983106a96a9
# Parent  d5adbcbb7492bbdcd250065bcb5e96f68e23eeb6
[IA64] passthrough EFI_ACPI_MEMORY_NVS and EFI_RESERVED_TYPE

According to the EFI spec, firmware may describe ACPI tables loaded
at runtime in EFI_RESERVED_TYPE or EFI_ACPI_MEMORY_NVS memory ranges.
This patch adds these to the list of memory types we pass through for
dom0.  This allows Xen to boot on HP Superdomes.

Signed-off-by: Alex Williamson <alex.williamson@xxxxxx>
---
 xen/arch/ia64/xen/dom_fw.c |    6 ++++++
 1 files changed, 6 insertions(+)

diff -r d5adbcbb7492 -r 6fdafeeb88bb xen/arch/ia64/xen/dom_fw.c
--- a/xen/arch/ia64/xen/dom_fw.c        Fri Jun 09 10:35:40 2006 -0600
+++ b/xen/arch/ia64/xen/dom_fw.c        Fri Jun 09 10:35:41 2006 -0600
@@ -413,6 +413,8 @@ dom_fw_dom0_passthrough(efi_memory_desc_
     BUG_ON(md->type != EFI_RUNTIME_SERVICES_CODE &&
            md->type != EFI_RUNTIME_SERVICES_DATA &&
            md->type != EFI_ACPI_RECLAIM_MEMORY &&
+           md->type != EFI_ACPI_MEMORY_NVS &&
+           md->type != EFI_RESERVED_TYPE &&
            md->type != EFI_MEMORY_MAPPED_IO &&
            md->type != EFI_MEMORY_MAPPED_IO_PORT_SPACE);
 
@@ -748,6 +750,10 @@ dom_fw_init (struct domain *d, const cha
 #endif
                        efi_memmap_walk_type(EFI_ACPI_RECLAIM_MEMORY,
                                             dom_fw_dom0_passthrough, &arg);
+                       efi_memmap_walk_type(EFI_ACPI_MEMORY_NVS,
+                                            dom_fw_dom0_passthrough, &arg);
+                       efi_memmap_walk_type(EFI_RESERVED_TYPE,
+                                            dom_fw_dom0_passthrough, &arg);
                        efi_memmap_walk_type(EFI_MEMORY_MAPPED_IO,
                                             dom_fw_dom0_passthrough, &arg);
                        efi_memmap_walk_type(EFI_MEMORY_MAPPED_IO_PORT_SPACE,

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] [IA64] passthrough EFI_ACPI_MEMORY_NVS and EFI_RESERVED_TYPE, Xen patchbot-unstable <=