Re: [v4] powerpc: Export thread_struct.used_vr/used_vsr to user space

2 messages, 2 authors, 2016-07-21 · open the first message on its own page

Re: [v4] powerpc: Export thread_struct.used_vr/used_vsr to user space

From: Simon Guo <hidden>
Date: 2016-07-15 07:15:51

Michael, Ben,
On Fri, Jul 08, 2016 at 08:02:42PM +1000, Michael Ellerman wrote:
Benjamin Herrenschmidt [off-list ref] writes:
quoted
On Thu, 2016-07-07 at 23:21 +1000, Benjamin Herrenschmidt wrote:
quoted
I think the right fix is that if a restore_sigcontext() has the MSR
bits set,
it should set the corresponding used_* flag.
Something like this:

(totally untested)
Simon/Laurent, can you guys test this and let me know if it works for
your usecase.
Sorry for the late reply. I tested Ben's patch and the fix works for the CRIU
case mentioned before.

Thanks,
Simon

Re: [v4] powerpc: Export thread_struct.used_vr/used_vsr to user space

From: Michael Ellerman <mpe@ellerman.id.au>
Date: 2016-07-21 10:57:30

Simon Guo [off-list ref] writes:
Michael, Ben,
On Fri, Jul 08, 2016 at 08:02:42PM +1000, Michael Ellerman wrote:
quoted
Benjamin Herrenschmidt [off-list ref] writes:
=20
quoted
On Thu, 2016-07-07 at 23:21 +1000, Benjamin Herrenschmidt wrote:
quoted
=C2=A0
I think the right fix is that if a restore_sigcontext() has the MSR
bits set,
it should set the corresponding used_* flag.
Something like this:

(totally untested)
=20
Simon/Laurent, can you guys test this and let me know if it works for
your usecase.
Sorry for the late reply. I tested Ben's patch and the fix works for the =
CRIU
case mentioned before.
Thanks.

Can one of you send a properly formatted and signed-off patch.

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help