[PATCH v2] arm64/fpsimd: Add interface for kernel use of SVE and SME

Mark Brown broonie at kernel.org
Tue Nov 15 08:49:07 PST 2022


On Tue, Nov 15, 2022 at 11:37:30AM +0000, Will Deacon wrote:
> On Thu, Nov 03, 2022 at 06:21:05PM +0000, Mark Brown wrote:
> > We currently support in kernel use of FPSIMD via the kernel_neon_begin()
> > and kernel_neon_end() interface but there is no corresponding interface
> > for SVE or SME. Given that SVE hardware is now becoming widely available

> Hmm, I don't really understand the point of this. Exporting unused symbols
> to modules has a funny smell to it, so let's leave this until we get an
> in-tree user (if we decide that we want to support that at all)?

That was my expectation - the main goal here was to get something
on the list so that people who are experimenting with using the
newer FP extensions for in kernel algorithms would be less likely
to keep on repeating the same mistakes with the basic "start a
kernel FP usage block" bits, we can cut down on repetitive review
of the basics a bit by at least pointing them at "use this
patch".  There should be no cost to carrying the code but until
we get some users that are suitable for merging it doesn't really
get us anything either.
-------------- 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/20221115/75058145/attachment.sig>


More information about the linux-arm-kernel mailing list