Searched hist:"5 d88aa85c00bb4026dd986430dc496effc637d42" (Results 1 – 3 of 3) sorted by relevance
/linux/arch/powerpc/platforms/pseries/ |
H A D | firmware.c | diff 5d88aa85c00bb4026dd986430dc496effc637d42 Wed Apr 24 08:00:35 CEST 2013 Jesse Larrew <jlarrew@linux.vnet.ibm.com> powerpc/pseries: Update CPU maps when device tree is updated
Platform events such as partition migration or the new PRRN firmware feature can cause the NUMA characteristics of a CPU to change, and these changes will be reflected in the device tree nodes for the affected CPUs.
This patch registers a handler for Open Firmware device tree updates and reconfigures the CPU and node maps whenever the associativity changes. Currently, this is accomplished by marking the affected CPUs in the cpu_associativity_changes_mask and allowing arch_update_cpu_topology() to retrieve the new associativity information using hcall_vphn().
Protecting the NUMA cpu maps from concurrent access during an update operation will be addressed in a subsequent patch in this series.
Signed-off-by: Nathan Fontenot <nfont@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
|
/linux/arch/powerpc/include/asm/ |
H A D | prom.h | diff 5d88aa85c00bb4026dd986430dc496effc637d42 Wed Apr 24 08:00:35 CEST 2013 Jesse Larrew <jlarrew@linux.vnet.ibm.com> powerpc/pseries: Update CPU maps when device tree is updated
Platform events such as partition migration or the new PRRN firmware feature can cause the NUMA characteristics of a CPU to change, and these changes will be reflected in the device tree nodes for the affected CPUs.
This patch registers a handler for Open Firmware device tree updates and reconfigures the CPU and node maps whenever the associativity changes. Currently, this is accomplished by marking the affected CPUs in the cpu_associativity_changes_mask and allowing arch_update_cpu_topology() to retrieve the new associativity information using hcall_vphn().
Protecting the NUMA cpu maps from concurrent access during an update operation will be addressed in a subsequent patch in this series.
Signed-off-by: Nathan Fontenot <nfont@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
|
H A D | firmware.h | diff 5d88aa85c00bb4026dd986430dc496effc637d42 Wed Apr 24 08:00:35 CEST 2013 Jesse Larrew <jlarrew@linux.vnet.ibm.com> powerpc/pseries: Update CPU maps when device tree is updated
Platform events such as partition migration or the new PRRN firmware feature can cause the NUMA characteristics of a CPU to change, and these changes will be reflected in the device tree nodes for the affected CPUs.
This patch registers a handler for Open Firmware device tree updates and reconfigures the CPU and node maps whenever the associativity changes. Currently, this is accomplished by marking the affected CPUs in the cpu_associativity_changes_mask and allowing arch_update_cpu_topology() to retrieve the new associativity information using hcall_vphn().
Protecting the NUMA cpu maps from concurrent access during an update operation will be addressed in a subsequent patch in this series.
Signed-off-by: Nathan Fontenot <nfont@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
|