[PATCH] vphn: fix arch_update_cpu_topology() return value

2012-08-01 Thread Jesse Larrew
From 5dfd547532fca61462dc17fd0bb8e533002c4bc5 Mon Sep 17 00:00:00 2001 From: Jesse Larrew jlar...@linux.vnet.ibm.com Date: Thu, 7 Jun 2012 16:04:34 -0500 arch_update_cpu_topology() should only return 1 when the topology has actually changed, and should return 0 otherwise. This patch fixes

Re: [PATCH 5/15] powerpc: convert to %r for all GPR usage

2012-06-14 Thread Jesse Larrew
On 06/13/2012 10:25 PM, Michael Neuling wrote: Jesse Larrew jlar...@linux.vnet.ibm.com wrote: On 06/08/2012 06:36 AM, Michael Neuling wrote: -/* General Purpose Registers (GPRs) */ +/* + * General Purpose Registers (GPRs) + * + * The lower case r0-r31 should be used in preference

Re: [PATCH 5/15] powerpc: convert to %r for all GPR usage

2012-06-08 Thread Jesse Larrew
your patch was truncated somehow. ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev Jesse Larrew Software Engineer, Linux on Power Kernel Team IBM Linux Technology Center Phone: (512) 973

Re: [PATCH v2 1/2] powerpc/PCI: Add pcibios_device_change_notifier for powerpc

2012-05-23 Thread Jesse Larrew
, but I think the naming of pcibios_device_change_notifier() is a bit misleading. It doesn't actually notify anything, but instead it *handles* notifications. Perhaps a better name would be pcibios_device_change_handler() or pcibios_device_change_callback()? Sincerely, Jesse Larrew Software

Re: [PATCH] document udbg-immortal

2011-06-01 Thread Jesse Larrew
what's going on. + Thanks for documenting this! Suggested grammatical tweaks: s/options/option/ s/help seeing/help to see/ -- Jesse Larrew Software Engineer, Linux on Power Kernel Team IBM Linux Technology Center Phone: (512) 973-2052 (T/L: 363-2052) jlar...@linux.vnet.ibm.com

Re: [BUG] rebuild_sched_domains considered dangerous

2011-05-11 Thread Jesse Larrew
On 05/10/2011 09:09 AM, Peter Zijlstra wrote: On Mon, 2011-05-09 at 16:26 -0500, Jesse Larrew wrote: According the the Power firmware folks, updating the home node of a virtual cpu happens rather infrequently. The VPHN code currently checks for topology updates every 60 seconds, but we can

Re: [BUG] rebuild_sched_domains considered dangerous

2011-05-09 Thread Jesse Larrew
the cpu updates. I plan to start working on a patch set to enable memory topology updates in the kernel in the coming weeks, but I wanted to get the cpu patches out on the list so we could start having these debates. :) Sincerely, Jesse Larrew Software Engineer, Linux on Power Kernel Team IBM Linux

[PATCH 0/4] powerpc/pseries: VPHN code cleanups

2011-01-20 Thread Jesse Larrew
From: Jesse Larrew jlar...@linux.vnet.ibm.com This patch set includes some simple style cleanups for VPHN: PATCH 1/4: powerpc/pseries: Fix typo in VPHN comments PATCH 2/4: powerpc/pseries: Fix brace placement in numa.c PATCH 3/4: powerpc/pseries: Remove unnecessary initializations in numa.c

[PATCH 1/4] powerpc/pseries: Fix typo in VPHN comments

2011-01-20 Thread Jesse Larrew
From: Jesse Larrew jlar...@linux.vnet.ibm.com Correct a spelling error in VPHN comments in numa.c. Signed-off-by: Jesse Larrew jlar...@linux.vnet.ibm.com --- arch/powerpc/mm/numa.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/mm/numa.c b/arch/powerpc/mm

[PATCH 2/4] powerpc/pseries: Fix brace placement in numa.c

2011-01-20 Thread Jesse Larrew
From: Jesse Larrew jlar...@linux.vnet.ibm.com Fix brace placement in VPHN code. Signed-off-by: Jesse Larrew jlar...@linux.vnet.ibm.com --- arch/powerpc/mm/numa.c |9 +++-- 1 files changed, 3 insertions(+), 6 deletions(-) diff --git a/arch/powerpc/mm/numa.c b/arch/powerpc/mm/numa.c

[PATCH 4/4] powerpc/pseries: Reorder VPHN functions to reduce forward declarations

2011-01-20 Thread Jesse Larrew
From: Jesse Larrew jlar...@linux.vnet.ibm.com Reorder VPHN functions to reduce the need for forward declarations. Signed-off-by: Jesse Larrew jlar...@linux.vnet.ibm.com --- arch/powerpc/mm/numa.c | 115 1 files changed, 57 insertions(+), 58

[PATCH 3/4] powerpc/pseries: Remove unnecessary variable initializations in numa.c

2011-01-20 Thread Jesse Larrew
From: Jesse Larrew jlar...@linux.vnet.ibm.com Remove unnecessary variable initializations in VPHN functions. Signed-off-by: Jesse Larrew jlar...@linux.vnet.ibm.com --- arch/powerpc/mm/numa.c | 17 - 1 files changed, 8 insertions(+), 9 deletions(-) diff --git a/arch/powerpc/mm

[PATCH V2] powerpc/pseries: Fix VPHN build errors on non-SMP systems

2010-12-18 Thread Jesse Larrew
From: Jesse Larrew jlar...@linux.vnet.ibm.com The header asm/hvcall.h was previously included indirectly via smp.h. On non-SMP systems, however, these declarations are excluded and the build breaks. This is easily fixed by including asm/hvcall.h directly. The VPHN feature is only meaningful

[PATCH] powerpc/pseries: Fix VPHN build errors on non-SMP systems

2010-12-12 Thread Jesse Larrew
From: Jesse Larrew jlar...@linux.vnet.ibm.com The VPHN feature is only meaningful on NUMA systems that implement the SPLPAR option, so exclude the VPHN code on systems without SPLPAR enabled. This patch fixes a build problem on non-SMP systems introduced by the following commits

Re: [PATCH V2 2/3] powerpc: Poll VPA for topology changes and update NUMA maps

2010-12-01 Thread Jesse Larrew
On 11/28/2010 10:44 PM, Benjamin Herrenschmidt wrote: On Tue, 2010-11-09 at 16:25 -0700, Jesse Larrew wrote: From: Jesse Larrew jlar...@linux.vnet.ibm.com This patch sets a timer during boot that will periodically poll the associativity change counters in the VPA. When a change

[PATCH V3 0/3][RFC] Add Support for Virtual Processor Home Node (VPHN)

2010-12-01 Thread Jesse Larrew
From: Jesse Larrew jlar...@linux.vnet.ibm.com The SPLPAR option allows the platform to dispatch virtual processors on physical processors that, due to the variable nature of work loads, are temporarily free, thus improving the utilization of computing resources. However, SPLPAR implies

[PATCH V3 1/3] powerpc: Add VPHN firmware feature

2010-12-01 Thread Jesse Larrew
From: Jesse Larrew jlar...@linux.vnet.ibm.com This simple patch adds the firmware feature for VPHN to the firmware features bitmask. Signed-off-by: Jesse Larrew jlar...@linux.vnet.ibm.com --- arch/powerpc/include/asm/firmware.h |3 ++- arch/powerpc/include/asm/hvcall.h |3

[PATCH V3 2/3] powerpc: Poll VPA for topology changes and update NUMA maps

2010-12-01 Thread Jesse Larrew
From: Jesse Larrew jlar...@linux.vnet.ibm.com This patch sets a timer during boot that will periodically poll the associativity change counters in the VPA. When a change in associativity is detected, it retrieves the new associativity domain information via the H_HOME_NODE_ASSOCIATIVITY hcall

[PATCH V3 3/3] powerpc: Disable VPHN polling during a suspend operation

2010-12-01 Thread Jesse Larrew
From: Jesse Larrew jlar...@linux.vnet.ibm.com Tie the polling mechanism into the ibm,suspend-me rtas call to stop/restart polling before/after a suspend, hibernate, migrate, or checkpoint restart operation. This ensures that the system has a chance to disable the polling if the partition

[PATCH V2 0/3][RFC] Add Support for Virtual Processor Home Node (VPHN)

2010-11-09 Thread Jesse Larrew
From: Jesse Larrew jlar...@linux.vnet.ibm.com The SPLPAR option allows the platform to dispatch virtual processors on physical processors that, due to the variable nature of work loads, are temporarily free, thus improving the utilization of computing resources. However, SPLPAR implies

[PATCH V2 1/3] powerpc: Add VPHN firmware feature

2010-11-09 Thread Jesse Larrew
From: Jesse Larrew jlar...@linux.vnet.ibm.com This simple patch adds the firmware feature for VPHN to the firmware features bitmask. Signed-off-by: Jesse Larrew jlar...@linux.vnet.ibm.com --- arch/powerpc/include/asm/firmware.h |3 ++- arch/powerpc/include/asm/hvcall.h |3

[PATCH V2 2/3] powerpc: Poll VPA for topology changes and update NUMA maps

2010-11-09 Thread Jesse Larrew
From: Jesse Larrew jlar...@linux.vnet.ibm.com This patch sets a timer during boot that will periodically poll the associativity change counters in the VPA. When a change in associativity is detected, it retrieves the new associativity domain information via the H_HOME_NODE_ASSOCIATIVITY hcall

[PATCH V2 3/3] powerpc: Disable VPHN polling during a suspend operation

2010-11-09 Thread Jesse Larrew
From: Jesse Larrew jlar...@linux.vnet.ibm.com Tie the polling mechanism into the ibm,suspend-me rtas call to stop/restart polling before/after a suspend, hibernate, migrate, or checkpoint restart operation. This ensures that the system has a chance to disable the polling if the partition

Re: [PATCH 3/3] powerpc: Disable VPHN polling during a suspend operation

2010-11-05 Thread Jesse Larrew
On 11/03/2010 07:12 AM, Michael Ellerman wrote: On Thu, 2010-10-28 at 20:30 -0400, Jesse Larrew wrote: From: Jesse Larrew jlar...@linux.vnet.ibm.com Hi Jesse, a few comments ... diff --git a/arch/powerpc/include/asm/topology.h b/arch/powerpc/include/asm/topology.h index afe4aaa

[PATCH 0/3][RFC][REPOST] Add Support for Virtual Processor Home Node (VPHN)

2010-10-28 Thread Jesse Larrew
From: Jesse Larrew jlar...@linux.vnet.ibm.com The SPLPAR option allows the platform to dispatch virtual processors on physical processors that, due to the variable nature of work loads, are temporarily free, thus improving the utilization of computing resources. However, SPLPAR implies

[PATCH 1/3] powerpc: Add VPHN firmware feature

2010-10-28 Thread Jesse Larrew
From: Jesse Larrew jlar...@linux.vnet.ibm.com This simple patch adds the firmware feature for VPHN to the firmware features bitmask. Signed-off-by: Jesse Larrew jlar...@linux.vnet.ibm.com --- arch/powerpc/include/asm/firmware.h |3 ++- arch/powerpc/include/asm/hvcall.h |3

[PATCH 2/3] powerpc: Poll VPA for topology changes and update NUMA maps

2010-10-28 Thread Jesse Larrew
From: Jesse Larrew jlar...@linux.vnet.ibm.com This patch sets a timer during boot that will periodically poll the associativity change counters in the VPA. When a change in associativity is detected, it retrieves the new associativity domain information via the H_HOME_NODE_ASSOCIATIVITY hcall

[PATCH 3/3] powerpc: Disable VPHN polling during a suspend operation

2010-10-28 Thread Jesse Larrew
From: Jesse Larrew jlar...@linux.vnet.ibm.com Tie the polling mechanism into the ibm,suspend-me rtas call to stop/restart polling before/after a suspend, hibernate, migrate, or checkpoint restart operation. This ensures that the system has a chance to disable the polling if the partition

[PATCH] powerpc: Add support for Virtual Processor Home Node (VPHN)

2010-10-16 Thread Jesse Larrew
From: Jesse Larrew jlar...@linux.vnet.ibm.com The SPLPAR option allows the platform to dispatch virtual processors on physical processors that, due to the variable nature of work loads, are temporarily free, thus improving the utilization of computing resources. However, SPLPAR implies

Re: [PATCH] powerpc: print cores passed to firmware in decimal

2010-07-22 Thread Jesse Larrew
the 0x. Sincerely, -- Jesse Larrew Software Engineer, Linux on Power Kernel Team IBM Linux Technology Center Phone: (512) 973-2052 (T/L: 363-2052) jlar...@linux.vnet.ibm.com ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https