zfs/include/os/linux/kernel/linux
Keith Gable f8f3cac084 [2.1] compat: add check for kernel_neon_* availability
This patch backports the change from #15711 (to ZFS 2.2.x) because
some OS vendors have back-ported this change from Linux 6.2+ to their
older kernels.

The original patch addressed these issues:

1. Linux 6.2+ on arm64 has exported them with `EXPORT_SYMBOL_GPL`, so
   license compatibility must be checked before use.
2. On both arm and arm64, the definitions of these symbols are guarded
   by `CONFIG_KERNEL_MODE_NEON`, but their declarations are still
   present. Checking in configuration phase only leads to MODPOST
   errors (undefined references).

Signed-off-by: Keith Gable <keith@ziggythehamster.sh>
Co-authored-by: Shengqi Chen <harry-chen@outlook.com>
2024-01-12 12:40:17 -08:00
..
Makefile.am Avoid installing kernel headers on FreeBSD 2020-06-27 17:40:14 -07:00
blkdev_compat.h Linux 6.5 compat: blkdev changes 2023-09-11 16:20:26 -07:00
compiler_compat.h Use fallthrough macro 2021-11-02 09:50:30 -07:00
dcache_compat.h Workaround for Linux PowerPC GPL-only cpu_has_feature() 2023-06-05 10:59:02 -07:00
kmap_compat.h Removing old code for k(un)map_atomic 2021-03-19 22:38:44 -07:00
mod_compat.h Linux: Remove ZFS_AC_KERNEL_SRC_MODULE_PARAM_CALL_CONST autotools check 2022-11-01 12:42:01 -07:00
page_compat.h Linux 5.9 compat: NR_SLAB_RECLAIMABLE 2020-08-29 20:57:45 -07:00
percpu_compat.h Use percpu_counter for obj_alloc counter of Linux-backed caches 2020-06-26 18:06:50 -07:00
simd.h Add AltiVec RAID-Z 2020-01-23 11:01:24 -08:00
simd_aarch64.h [2.1] compat: add check for kernel_neon_* availability 2024-01-12 12:40:17 -08:00
simd_powerpc.h Workaround for Linux PowerPC GPL-only cpu_has_feature() 2023-06-05 10:59:02 -07:00
simd_x86.h Linux 5.19 compat: asm/fpu/internal.h 2022-06-01 14:24:49 -07:00
utsname_compat.h OpenZFS restructuring - move platform specific headers 2019-09-05 09:34:54 -07:00
vfs_compat.h Linux 6.3 compat: idmapped mount API changes 2023-06-05 10:59:02 -07:00
xattr_compat.h Linux 6.3 compat: idmapped mount API changes 2023-06-05 10:59:02 -07:00