Re: [v4] powerpc: Export thread_struct.used_vr/used_vsr to user space
From: Simon Guo
Date: Fri Jul 08 2016 - 01:39:25 EST
On Thu, Jul 07, 2016 at 11:21:18PM +1000, Benjamin Herrenschmidt wrote:
> I think the right fix is that if a restore_sigcontext() has the MSR bits set,
> it should set the corresponding used_* flag.
>
> Or is there a reason why that won't work ?
That sounds reaonable to me.
I will prepare a patch based on that.
Michael, Ben, Laurent,
Thanks the discussion and proposal.
- Simon