Simplify kernel-mode NEON
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest0 of 5 patches 0 repliesNew
Patches in v1 No applies recorded yet
None of the 5 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/5] Simplify kernel-mode NEON
Quoted 24 lines · Ard Biesheuvel
Quoted 23 lines · Catalin Marinas
Quoted 2 lines · Catalin Marinas
Quoted 1 line · Dave P Martin
This series depends on Ard's v4.14 crypto rework [2].
[...]
Quoted 1 line
[...]
Quoted 10 lines
Quoted 8 lines
Ard Biesheuvel (1):
arm64: neon: replace generic definition ofmay_use_simd()Dave Martin (4):
arm64: neon: Add missing header guard in <asm/neon.h>
arm64: fpsimd: Consistently use__this_cpu_ops where appropriate
arm64: neon: Allow EFI runtime services to use FPSIMD in irq context
arm64: neon: Remove support for nested or hardirq kernel-mode NEONQueued for 4.14. Thanks.
... and reverted.
I now realised that it doesn't build without Ard's crypto series (I had the wrong impression it is just a performance impact). I get errors like:
Quoted 6 lines
Quoted 3 lines
arch/arm64/crypto/sha1-ce-glue.c|41 col 2| error: implicit declaration of function ?kernel_neon_begin_partial?
Ah yes. Apologies for failing to mention that. Apparently, there are in fact build time cross-dependencies that I forgot about.
This was what I meant by "depends on", but I could have been clearer. Apologies for that.
Quoted 3 lines
To avoid delaying this unnecessarily, we just alias
kernel_neon_begin_partial()tokernel_neon_begin()and ignore the argument. We can remove that again when everything has gone upstream.
We can do this to keep things buildable and mostly bootable.
Catalin, do you think that's a sufficient workaround, or do we need to rethink this?
Do you need me to repost anything?
Cheers
---Dave
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.