Re: [PATCH] kselftest/arm64: Include kernel mode NEON in fp-stress

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 21 May 2024 19:18:26 +0100, Mark Brown wrote:
> Currently fp-stress only covers userspace use of floating point, it does
> not cover any kernel mode uses.  Since currently kernel mode floating
> point usage can't be preempted and there are explicit preemption points in
> the existing implementations this isn't so important for fp-stress but
> when we readd preemption it will be good to try to exercise it.
> 
> When the arm64 accelerated crypto operations are implemented we can
> relatively straightforwardly trigger kernel mode floating point usage by
> using the crypto userspace API to hash data, using the splice() support
> in an effort to minimise copying.  We use /proc/crypto to check which
> accelerated implementations are available, picking the first symmetric
> hash we find.  We run the kernel mode test unconditionally, replacing the
> second copy of the FPSIMD testcase for systems with FPSIMD only. If we
> don't think there are any suitable kernel mode implementations we fall back
> to running another copy of fpsimd-stress.
> 
> [...]

Applied to arm64 (for-next/kselftest), thanks!

[1/1] kselftest/arm64: Include kernel mode NEON in fp-stress
      https://git.kernel.org/arm64/c/d5859510d35d

-- 
Catalin





[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux