[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20160708053901.GA6489@simonLocalRHEL7.x64>
Date: Fri, 8 Jul 2016 13:39:01 +0800
From: Simon Guo <wei.guo.simon@...il.com>
To: Benjamin Herrenschmidt <benh@...nel.crashing.org>
Cc: Laurent Dufour <ldufour@...ux.vnet.ibm.com>,
Michael Ellerman <mpe@...erman.id.au>,
linux-kernel@...r.kernel.org, linuxppc-dev@...ts.ozlabs.org,
Paul Mackerras <paulus@...ba.org>,
Kees Cook <keescook@...omium.org>,
Rashmica Gupta <rashmicy@...il.com>
Subject: Re: [v4] powerpc: Export thread_struct.used_vr/used_vsr to user space
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
Powered by blists - more mailing lists