On Tue, Aug 25, 2020 at 05:55:35PM +1000, Nicholas Piggin wrote: > The ISA v3.1 the copy-paste facility has a new memory move functionality > which allows the copy buffer to be pasted to domestic memory (RAM) as > opposed to foreign memory (accelerator). > > This means the POWER9 trick of avoiding the cp_abort on context switch if > the process had not mapped foreign memory does not work on POWER10. Do the > cp_abort unconditionally there. > > KVM must also cp_abort on guest exit to prevent copy buffer state leaking > between contexts. > > Signed-off-by: Nicholas Piggin <npig...@gmail.com>
For the KVM part: Acked-by: Paul Mackerras <pau...@ozlabs.org>