17 Jul, 2008

1 commit


12 Jun, 2008

1 commit

  • This is a SLIT sanity checking patch. It moves slit_valid() function to
    generic ACPI code and does sanity checking for both x86 and ia64. It sets up
    node_distance with LOCAL_DISTANCE and REMOTE_DISTANCE when hitting invalid
    SLIT table on ia64. It also cleans up unused variable localities in
    acpi_parse_slit() on x86.

    Signed-off-by: Fenghua Yu
    Signed-off-by: Andrew Morton
    Signed-off-by: Len Brown

    Fenghua Yu
     

07 Feb, 2008

1 commit

  • This patch contains the following possible cleanups:
    - make the following needlessly global code static:
    - drivers/acpi/bay.c:dev_attr_eject
    - drivers/acpi/bay.c:dev_attr_present
    - drivers/acpi/dock.c:dev_attr_docked
    - drivers/acpi/dock.c:dev_attr_flags
    - drivers/acpi/dock.c:dev_attr_uid
    - drivers/acpi/dock.c:dev_attr_undock
    - drivers/acpi/pci_bind.c:acpi_pci_unbind()
    - drivers/acpi/pci_link.c:acpi_link_lock
    - drivers/acpi/sbs.c:acpi_sbs_callback()
    - drivers/acpi/sbshc.c:acpi_smbus_transaction()
    - drivers/acpi/sleep/main.c:acpi_sleep_prepare()
    - #if 0 the following unused global functions:
    - drivers/acpi/numa.c:acpi_unmap_pxm_to_node()
    - remove the following unused EXPORT_SYMBOL's:
    - acpi_register_gsi
    - acpi_unregister_gsi
    - acpi_strict
    - acpi_bus_receive_event
    - register_acpi_bus_type
    - unregister_acpi_bus_type
    - acpi_os_printf
    - acpi_os_sleep
    - acpi_os_stall
    - acpi_os_read_pci_configuration
    - acpi_os_create_semaphore
    - acpi_os_delete_semaphore
    - acpi_os_wait_semaphore
    - acpi_os_signal_semaphore
    - acpi_os_signal
    - acpi_pci_irq_enable
    - acpi_get_pxm

    Signed-off-by: Adrian Bunk
    Acked-by: Alexey Starikovskiy
    Signed-off-by: Len Brown

    Adrian Bunk
     

14 Dec, 2007

1 commit

  • for sn2_defconfig:

    WARNING: vmlinux.o(.text+0x4b8601): Section mismatch: reference to .init.data:node_to_pxm_map (between '__acpi_map_pxm_to_node' and 'acpi_get_pxm')
    WARNING: vmlinux.o(.text+0x4b8741): Section mismatch: reference to .init.data:pxm_to_node_map (between 'acpi_map_pxm_to_node' and 'acpi_get_node')

    Signed-off-by: Jan Beulich
    Signed-off-by: Len Brown

    Jan Beulich
     

22 Jul, 2007

2 commits

  • 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
    Signed-off-by: David Rientjes
    Signed-off-by: Andrew Morton
    Signed-off-by: Andi Kleen
    Signed-off-by: Linus Torvalds

    David Rientjes
     
  • In acpi_scan_nodes(), we immediately return -1 if acpi_numa
    Signed-off-by: Andi Kleen
    Signed-off-by: Linus Torvalds

    David Rientjes
     

02 Jun, 2007

1 commit

  • Last of the "Section mismatch" errors from ia64 builds! acpi_map_pxm_to_node()
    is defined with attribute __cpuinit, but is called by "normal" kernel functions
    acpi_getnode() and acpi_map_cpu2node().

    Commit f363d16fbb9374c0bd7f2757d412c287169094c9 moved the data structures on
    which this routine operates from __cpuinitdata to regular memory, so this
    routine can also move out of init space.

    Signed-off-by: Tony Luck
    Signed-off-by: Len Brown

    Luck, Tony
     

17 May, 2007

1 commit

  • Strip __cpuinit[data] from Node PXM routines and supporting data
    structures. Also make pxm_to_node_map and node_to_pxm_map local to the
    numa acpi module.

    This fixes a bug triggered by the following conditions:
    - boot on a machine with a SLIT table defined
    - kernel is configured w/ CONFIG_HOTPLUG_CPU=n
    - cat /sys/devices/system/node/node*/distance
    This will cause an oops by calling into a freed memory section.

    In particular, on x86_64, __node_distance calls node_to_pxm().

    Signed-off-by: Aaron Durbin
    Cc: Len Brown
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Aaron Durbin
     

09 May, 2007

2 commits


13 Feb, 2007

4 commits


03 Feb, 2007

1 commit


14 Oct, 2006

1 commit


02 Jul, 2006

1 commit


01 Jul, 2006

1 commit


28 Jun, 2006

1 commit

  • This is to find node id from acpi's handle of memory_device in DSDT. _PXM for
    the new node can be found by acpi_get_pxm() by using new memory's handle. So,
    node id can be found by pxm_to_nid_map[].

    This patch becomes simpler than v2 of node hot-add patch.
    Because old add_memory() function doesn't have node id parameter.
    So, kernel must find its handle by physical address via DSDT again.
    But, v3 just give node id to add_memory() now.

    Signed-off-by: Yasunori Goto
    Cc: Dave Hansen
    Cc: "Brown, Len"
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Yasunori Goto
     

23 Jun, 2006

1 commit

  • Consolidate the various arch-specific implementations of pxm_to_node() and
    node_to_pxm() into a single generic version.

    Signed-off-by: Yasunori Goto
    Cc: "Luck, Tony"
    Cc: Andi Kleen
    Cc: Dave Hansen
    Cc: "Brown, Len"
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Yasunori Goto
     

05 Aug, 2005

1 commit


17 Apr, 2005

1 commit

  • Initial git repository build. I'm not bothering with the full history,
    even though we have it. We can create a separate "historical" git
    archive of that later if we want to, and in the meantime it's about
    3.2GB when imported into git - space that would just make the early
    git days unnecessarily complicated, when we don't have a lot of good
    infrastructure for it.

    Let it rip!

    Linus Torvalds