[PATCH 02/13] powerpc/e500: SPE register saving: take arbitrary struct offset

Kumar Gala galak at kernel.crashing.org
Thu May 19 16:05:24 EST 2011


On May 17, 2011, at 6:36 PM, Scott Wood wrote:

> Previously, these macros hardcoded THREAD_EVR0 as the base of the save
> area, relative to the base register passed.  This base offset is now
> passed as a separate macro parameter, allowing reuse with other SPE
> save areas, such as used by KVM.
> 
> Signed-off-by: Scott Wood <scottwood at freescale.com>
> ---
> This is a resending of http://www.spinics.net/lists/kvm-ppc/msg02672.html
> 
> Kumar, please ack to go via kvm.
> 
> arch/powerpc/include/asm/ppc_asm.h   |   28 ++++++++++++++++------------
> arch/powerpc/kernel/head_fsl_booke.S |    6 +++---
> 2 files changed, 19 insertions(+), 15 deletions(-)

Acked-by: Kumar Gala <galak at kernel.crashing.org>

[ Alex, let me know if you want this via my powerpc.git tree or your kvm tree ]

- k



More information about the Linuxppc-dev mailing list