Thread (3 messages) 3 messages, 3 authors, 2020-09-09

Re: [PATCH] powerpc/64s: handle ISA v3.1 local copy-paste context switches

From: Paul Mackerras <hidden>
Date: 2020-09-03 01:21:52

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 <npiggin@gmail.com>
For the KVM part:

Acked-by: Paul Mackerras <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help