RE: git: d411c1d696ef - main - zfs: merge openzfs/zfs@d96e29576

From: Mark Millard <marklmi_at_yahoo.com>
Date: Wed, 03 May 2023 11:11:24 UTC
Martin Matuska <mm_at_FreeBSD.org> write on
Date: Wed, 03 May 2023 10:25:56 UTC :

> The branch main has been updated by mm:
> 
> URL: https://cgit.FreeBSD.org/src/commit/?id=d411c1d696ef35d60f8c3564e5eef7aeafa2fece
> 
> commit d411c1d696ef35d60f8c3564e5eef7aeafa2fece
> Merge: 16303d2ba6b0 d96e29576c89
> Author: Martin Matuska <mm@FreeBSD.org>
> AuthorDate: 2023-05-03 10:04:55 +0000
> Commit: Martin Matuska <mm@FreeBSD.org>
> CommitDate: 2023-05-03 10:04:55 +0000
> 
> zfs: merge openzfs/zfs@d96e29576
> 
> Notable upstream pull request merges:
> . . .
>       #14715 module: small fixes for FreeBSD/aarch64
> . . .

That changed:

openzfs/zfs/blob/master/include/os/freebsd/spl/sys/simd_aarch64.h

But it looks like:

openzfs/zfs/blob/master/include/os/freebsd/spl/sys/simd_arm.h

was not updated and armv7 would likely still crash based on what
openzfs has in its simd_arm.h :

#define	kfpu_allowed()		1
#define	kfpu_initialize(tsk)	do {} while (0)
#define	kfpu_begin()		do {} while (0)
#define	kfpu_end()		do {} while (0)
#define	kfpu_init()		(0)
#define	kfpu_fini()		do {} while (0)

/*
 * Check if NEON is available
 */
static inline boolean_t
zfs_neon_available(void)
{
	return (elf_hwcap & HWCAP_NEON);
}

/*
 * Check if SHA256 is available
 */
static inline boolean_t
zfs_sha256_available(void)
{
	return (elf_hwcap2 & HWCAP2_SHA2);
}

===
Mark Millard
marklmi at yahoo.com