summaryrefslogtreecommitdiff
path: root/rust/helpers/build_bug.c
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2024-11-12 16:08:16 +0300
committerCatalin Marinas <catalin.marinas@arm.com>2024-11-12 16:28:49 +0300
commit7dbd26d0b22d69d36ab3e76ee7f152482a19cbed (patch)
tree895bc13dc5ca5fff4c6d32cdd38a5a60d69ed84d /rust/helpers/build_bug.c
parent7e9c5b00009a625cc304c865192978c01c0cc077 (diff)
downloadlinux-7dbd26d0b22d69d36ab3e76ee7f152482a19cbed.tar.xz
kselftest/arm64: Add FPMR coverage to fp-ptrace
Add coverage for FPMR to fp-ptrace. FPMR can be available independently of SVE and SME, if SME is supported then FPMR is cleared by entering and exiting streaming mode. As with other registers we generate random values to load into the register, we restrict these to bitfields which are always defined. We also leave bitfields where the valid values are affected by the set of supported FP8 formats zero to reduce complexity, it is unlikely that specific bitfields will be affected by ptrace issues. Signed-off-by: Mark Brown <broonie@kernel.org> Link: https://lore.kernel.org/r/20241112-arm64-fp-ptrace-fpmr-v2-3-250b57c61254@kernel.org [catalin.marinas@arm.com: use REG_FPMR instead of FPMR] Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions