mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
[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 <[email protected]> Acked-by: Paul Mackerras <[email protected]> Cc: Anton Blanchard <[email protected]> Cc: <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
b749bfcd1b
commit
233ccd0d04
3 changed files with 6 additions and 1 deletions
|
|
@ -108,7 +108,7 @@ struct lppaca
|
|||
volatile u32 virtual_decr; // Virtual DECR for shared procsx78-x7B
|
||||
u16 slb_count; // # of SLBs to maintain x7C-x7D
|
||||
u8 idle; // Indicate OS is idle x7E
|
||||
u8 reserved5; // Reserved x7F
|
||||
u8 vmxregs_in_use; // VMX registers in use x7F
|
||||
|
||||
|
||||
//=============================================================================
|
||||
|
|
|
|||
Loading…
Reference in a new issue