mirror_zfs/module/zcommon
Attila Fülöp ce7a5dbf4b
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 <hutter2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Attila Fülöp <attila@fueloep.org>
Closes #13102
2022-03-08 16:19:15 -08:00
..
cityhash.c Compile cityhash code into libzfs 2020-03-27 09:11:22 -07:00
Makefile.in Linux 5.10 compat: use iov_iter in uio structure 2020-12-18 08:48:26 -08:00
zfeature_common.c log xattr=sa create/remove/update to ZIL 2022-02-22 13:06:43 -08:00
zfs_comutil.c module/*.ko: prune .data, global .rodata 2022-01-14 15:37:55 -08:00
zfs_deleg.c module/*.ko: prune .data, global .rodata 2022-01-14 15:37:55 -08:00
zfs_fletcher_aarch64_neon.c Add --enable-asan and --enable-ubsan switches 2022-02-03 14:35:38 -08:00
zfs_fletcher_avx512.c Add --enable-asan and --enable-ubsan switches 2022-02-03 14:35:38 -08:00
zfs_fletcher_intel.c Add --enable-asan and --enable-ubsan switches 2022-02-03 14:35:38 -08:00
zfs_fletcher_sse.c Add --enable-asan and --enable-ubsan switches 2022-02-03 14:35:38 -08:00
zfs_fletcher_superscalar4.c Add --enable-asan and --enable-ubsan switches 2022-02-03 14:35:38 -08:00
zfs_fletcher_superscalar.c Add --enable-asan and --enable-ubsan switches 2022-02-03 14:35:38 -08:00
zfs_fletcher.c Add --enable-asan and --enable-ubsan switches 2022-02-03 14:35:38 -08:00
zfs_namecheck.c Allow pool names that look like Solaris disk names 2021-04-01 08:49:41 -07:00
zfs_prop.c Linux x86 SIMD: factor out unneeded kernel dependencies 2022-03-08 16:19:15 -08:00
zpool_prop.c Flex non-pretty-printed properties and raw-/pretty-print remaining ones 2022-03-04 12:08:33 -08:00
zprop_common.c Flex non-pretty-printed properties and raw-/pretty-print remaining ones 2022-03-04 12:08:33 -08:00