mirror of
https://github.com/adulau/aha.git
synced 2025-01-04 07:03:38 +00:00
[PATCH] x86_64: Print a boot message for hotplug memory zones
From: Keith Manning Print a boot message for hotplug memory zones Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
b684664fd4
commit
69cb62eb6d
1 changed files with 4 additions and 1 deletions
|
@ -124,7 +124,6 @@ acpi_numa_memory_affinity_init(struct acpi_table_memory_affinity *ma)
|
||||||
|
|
||||||
if (srat_disabled() || ma->flags.enabled == 0)
|
if (srat_disabled() || ma->flags.enabled == 0)
|
||||||
return;
|
return;
|
||||||
/* hotplug bit is ignored for now */
|
|
||||||
pxm = ma->proximity_domain;
|
pxm = ma->proximity_domain;
|
||||||
node = setup_node(pxm);
|
node = setup_node(pxm);
|
||||||
if (node < 0) {
|
if (node < 0) {
|
||||||
|
@ -134,6 +133,10 @@ acpi_numa_memory_affinity_init(struct acpi_table_memory_affinity *ma)
|
||||||
}
|
}
|
||||||
start = ma->base_addr_lo | ((u64)ma->base_addr_hi << 32);
|
start = ma->base_addr_lo | ((u64)ma->base_addr_hi << 32);
|
||||||
end = start + (ma->length_lo | ((u64)ma->length_hi << 32));
|
end = start + (ma->length_lo | ((u64)ma->length_hi << 32));
|
||||||
|
/* It is fine to add this area to the nodes data it will be used later*/
|
||||||
|
if (ma->flags.hot_pluggable == 1)
|
||||||
|
printk(KERN_INFO "SRAT: hot plug zone found %lx - %lx \n",
|
||||||
|
start, end);
|
||||||
i = conflicting_nodes(start, end);
|
i = conflicting_nodes(start, end);
|
||||||
if (i >= 0) {
|
if (i >= 0) {
|
||||||
printk(KERN_ERR
|
printk(KERN_ERR
|
||||||
|
|
Loading…
Reference in a new issue