linux-stable/include/acpi
David Rientjes 3484d79813 x86_64: fake pxm-to-node mapping for fake numa
For NUMA emulation, our SLIT should represent the true NUMA topology of the
system but our proximity domain to node ID mapping needs to reflect the
emulated state.

When NUMA emulation has successfully setup fake nodes on the system, a new
function, acpi_fake_nodes() is called.  This function determines the proximity
domain (_PXM) for each true node found on the system.  It then finds which
emulated nodes have been allocated on this true node as determined by its
starting address.  The node ID to PXM mapping is changed so that each fake
node ID points to the PXM of the true node that it is located on.

If the machine failed to register a SLIT, then we assume there is no special
requirement for emulated node affinity so we use the default LOCAL_DISTANCE,
which is newly exported to this code, as our measurement if the emulated nodes
appear in the same PXM.  Otherwise, we use REMOTE_DISTANCE.

PXM_INVAL and NID_INVAL are also exported to the ACPI header file so that we
can compare node_to_pxm() results in generic code (in this case, the SRAT
code).

Cc: Len Brown <lenb@kernel.org>
Signed-off-by: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-07-21 18:37:10 -07:00
..
platform ACPICA: Lindent 2007-05-09 23:34:35 -04:00
acconfig.h ACPICA: Update version to 20070126 2007-02-02 21:14:32 -05:00
acdebug.h ACPICA: Update copyright to 2007. 2007-02-02 21:14:31 -05:00
acdisasm.h ACPICA: Update copyright to 2007. 2007-02-02 21:14:31 -05:00
acdispat.h ACPICA: Lindent 2007-05-09 23:34:35 -04:00
acevents.h ACPICA: Update copyright to 2007. 2007-02-02 21:14:31 -05:00
acexcep.h ACPICA: Update copyright to 2007. 2007-02-02 21:14:31 -05:00
acglobal.h ACPICA: Lindent 2007-05-09 23:34:35 -04:00
achware.h ACPICA: Update copyright to 2007. 2007-02-02 21:14:31 -05:00
acinterp.h Revert "ACPICA: fix AML mutex re-entrancy" 2007-05-09 23:01:59 -04:00
aclocal.h ACPICA: Lindent 2007-05-09 23:34:35 -04:00
acmacros.h ACPICA: Update copyright to 2007. 2007-02-02 21:14:31 -05:00
acnames.h ACPICA: Update copyright to 2007. 2007-02-02 21:14:31 -05:00
acnamesp.h ACPICA: Lindent 2007-05-09 23:34:35 -04:00
acobject.h ACPICA: Lindent 2007-05-09 23:34:35 -04:00
acopcode.h ACPICA: Update copyright to 2007. 2007-02-02 21:14:31 -05:00
acoutput.h ACPICA: Update copyright to 2007. 2007-02-02 21:14:31 -05:00
acparser.h ACPICA: Update copyright to 2007. 2007-02-02 21:14:31 -05:00
acpi.h ACPICA: Update copyright to 2007. 2007-02-02 21:14:31 -05:00
acpi_bus.h ACPICA: Lindent 2007-05-09 23:34:35 -04:00
acpi_drivers.h ACPICA: Lindent 2007-05-09 23:34:35 -04:00
acpi_numa.h x86_64: fake pxm-to-node mapping for fake numa 2007-07-21 18:37:10 -07:00
acpiosxf.h ACPI: add __init to acpi_initialize_subsystem() 2007-05-30 00:26:11 -04:00
acpixf.h ACPI: add __init to acpi_initialize_subsystem() 2007-05-30 00:26:11 -04:00
acresrc.h ACPICA: Update copyright to 2007. 2007-02-02 21:14:31 -05:00
acstruct.h ACPICA: Update copyright to 2007. 2007-02-02 21:14:31 -05:00
actables.h ACPICA: Update copyright to 2007. 2007-02-02 21:14:31 -05:00
actbl.h ACPI: Disable MSI on request of FADT 2007-04-25 01:13:47 -04:00
actbl1.h ACPICA: Update copyright to 2007. 2007-02-02 21:14:31 -05:00
actypes.h ACPICA: Lindent 2007-05-09 23:34:35 -04:00
acutils.h ACPICA: Support for external package objects as method arguments 2007-06-02 00:20:29 -04:00
amlcode.h ACPICA: Update copyright to 2007. 2007-02-02 21:14:31 -05:00
amlresrc.h ACPICA: Update copyright to 2007. 2007-02-02 21:14:31 -05:00
container.h [ACPI] Lindent all ACPI files 2005-08-05 00:45:14 -04:00
pdc_intel.h ACPI: Processor native C-states using MWAIT 2006-10-14 00:35:39 -04:00
processor.h ACPICA: Lindent 2007-05-09 23:34:35 -04:00