mirror_zfs/include/os/linux/kernel/linux
Shengqi Chen 7b89149c9f
Linux 6.2 compat: add check for kernel_neon_* availability
This patch adds check for `kernel_neon_*` symbols on arm and arm64
platforms to address the following 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).

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Shengqi Chen <harry-chen@outlook.com>
Closes #15711 
Closes #14555 
Closes: #15401
2024-01-08 16:05:24 -08:00
..
blkdev_compat.h Linux 6.5 compat: blkdev changes 2023-08-01 08:37:20 -07:00
compiler_compat.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
dcache_compat.h compact: workaround for GPL-only symbols on riscv from Linux 6.2 2023-12-06 12:37:50 -08:00
kmap_compat.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
mod_compat.h Finally drop long disabled vdev cache. 2023-06-09 12:40:55 -07:00
page_compat.h Linux 5.9 compat: NR_SLAB_RECLAIMABLE 2020-08-29 20:57:45 -07:00
percpu_compat.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
simd_aarch64.h Linux 6.2 compat: add check for kernel_neon_* availability 2024-01-08 16:05:24 -08:00
simd_arm.h Linux 6.2 compat: add check for kernel_neon_* availability 2024-01-08 16:05:24 -08:00
simd_powerpc.h Refactor CONFIG_SPE check on Linux/powerpc 2023-03-15 10:30:42 -07:00
simd_x86.h Avoid save/restoring AMX registers to avoid a SPR erratum 2023-08-26 11:25:46 -07:00
simd.h Add SHA2 SIMD feature tests for Linux 2023-03-02 13:52:04 -08:00
utsname_compat.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
vfs_compat.h Linux 6.6 compat: generic_fillattr has a new u32 request_mask added at arg2 2023-09-21 18:38:40 -07:00
xattr_compat.h Linux 6.3 compat: idmapped mount API changes 2023-04-10 14:15:36 -07:00