[PATCH v4 7/8] arm64/sve: Don't disable SVE on syscalls return

Mark Brown broonie at kernel.org
Tue Sep 22 12:04:03 EDT 2020


On Tue, Sep 22, 2020 at 03:03:21PM +0100, Dave Martin wrote:
> On Mon, Sep 21, 2020 at 07:03:37PM +0100, Mark Brown wrote:

> > Having spent time looking at this the main issue and the main thing is
> > to look at allowing TIF_SVE and TIF_SVE_NEEDS_FLUSH to be simultaneously
> > set as you suggested above - the interaction with TIF_FOREIGN_FPSTATE is
> > fairly simple so I don't see a big problem there.

> Maybe just try to improve the documentation initially, and see where
> that gets us?

I'm not sure how far that's going to get us - the FP code already has
exceptionally clear documentation for arch code and even with good
documentation there's always the challenge of making sure that the code
is in sync with the claims the documentation makes.  I'll definitely
include that in what I'm looking at, I just don't think it can fully
address Will's concerns about how much there is to think about here
(which I do broadly agree with).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20200922/bf23608f/attachment.sig>


More information about the linux-arm-kernel mailing list