diff options
author | Attila Fülöp <[email protected]> | 2022-03-09 01:19:15 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2022-03-08 16:19:15 -0800 |
commit | ce7a5dbf4b37a0ba28dd6911e1a17f039fdd4f4e (patch) | |
tree | 99b992ce09e28646db7470fd3b179d37e05c9fbc /config/kernel-get-link.m4 | |
parent | a86e089415679cf1b98eb424a159bb36aa2c19e3 (diff) |
Linux x86 SIMD: factor out unneeded kernel dependencies
Cleanup the kernel SIMD code by removing kernel dependencies.
- Replace XSTATE_XSAVE with our own XSAVE implementation for all
kernels not exporting kernel_fpu{begin,end}(), see #13059
- Replace union fpregs_state by a uint8_t * buffer and get the size
of the buffer from the hardware via the CPUID instruction
- Replace kernels xgetbv() by our own implementation which was
already there for userspace.
Reviewed-by: Tony Hutter <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Attila Fülöp <[email protected]>
Closes #13102
Diffstat (limited to 'config/kernel-get-link.m4')
0 files changed, 0 insertions, 0 deletions