]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] ppc64: Add VMX save flag to VPA
authorOlof Johansson <olof@lixom.net>
Sat, 3 Sep 2005 22:55:59 +0000 (15:55 -0700)
committerLinus Torvalds <torvalds@evo.osdl.org>
Mon, 5 Sep 2005 07:06:01 +0000 (00:06 -0700)
commit2349aaa182ec3d637925fe4ae6e8dd449c02ee4f
tree061f94c9d9b15087328095b4b4ab1b26aa6cadd2
parent3f39eb406dc865ac9c6b96dd4ccfe1c3a9a7d7c4
[PATCH] ppc64: Add VMX save flag to VPA

We need to indicate to the hypervisor that it needs to save our VMX
registers when switching partitions on a shared-processor system, just as
it needs to for FP and PMC registers.

This could be made to be on-demand when VMX is used, but we don't do that
for FP nor PMC right now either so let's not overcomplicate things.

Signed-off-by: Olof Johansson <olof@lixom.net>
Acked-by: Paul Mackerras <paulus@samba.org>
Cc: Anton Blanchard <anton@samba.org>
Cc: <engebret@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/ppc64/kernel/pSeries_lpar.c
arch/ppc64/kernel/pacaData.c
include/asm-ppc64/lppaca.h