Displaying 2 results from an estimated 2 matches for "clip_to_limit".
2007 Oct 19
3
Problem with nr_nodes on large memory NUMA machine
We''ve run into an issue with an 8 node x3950 where xm info is showing
only 6 nodes. I''ve traced the problem to the clip_to_limit function in
arch/x86/e820.c.
#ifdef __x86_64__
clip_to_limit((uint64_t)(MACH2PHYS_COMPAT_VIRT_END -
__HYPERVISOR_COMPAT_VIRT_START) << 10,
"Only the first %u GB of the physical memory map "
"can be accessed by 3...
2011 Jul 19
0
[PATCH 2/3] x86-64/MMCFG: finally make Fam10 enabling work
...h/x86/acpi/boot.c
+++ b/xen/arch/x86/acpi/boot.c
@@ -832,8 +832,6 @@ int __init acpi_boot_init(void)
acpi_dmar_init();
- acpi_mmcfg_init();
-
erst_init();
return 0;
--- a/xen/arch/x86/e820.c
+++ b/xen/arch/x86/e820.c
@@ -563,6 +563,55 @@ static void __init machine_specific_memo
clip_to_limit(top_of_ram, "MTRRs do not cover all of memory.");
}
+/* This function relies on the passed in e820->map[] being sorted. */
+int __init e820_add_range(
+ struct e820map *e820, uint64_t s, uint64_t e, uint32_t type)
+{
+ unsigned int i;
+
+ for ( i = 0; i < e820->nr_map...