Ubuntu-focal-kernel/tools
Michael Ellerman d69f082cb8 selftests/powerpc: Fix error handling in FPU/VMX preemption tests
BugLink: https://bugs.launchpad.net/bugs/2055075

[ Upstream commit 9dbd5927408c4a0707de73ae9dd9306b184e8fee ]

The FPU & VMX preemption tests do not check for errors returned by the
low-level asm routines, preempt_fpu() / preempt_vsx() respectively.
That means any register corruption detected by the asm routines does not
result in a test failure.

Fix it by returning the return value of the asm routines from the
pthread child routines.

Fixes: e5ab8be68e ("selftests/powerpc: Test preservation of FPU and VMX regs across preemption")
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20231128132748.1990179-1-mpe@ellerman.id.au
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Manuel Diewald <manuel.diewald@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
2024-02-29 15:23:34 +01:00
..
accounting
arch tools headers cpufeatures: Sync with the kernel sources 2023-10-02 12:12:18 +02:00
bpf bpftool: Fix bug for long instructions in program CFG dumps 2023-08-09 12:25:17 +02:00
build tools features: Add feature test to check if libbfd has buildid support 2023-10-30 11:42:23 +01:00
cgroup
debugging
firewire
firmware
gpio
hv
iio tools: iio: iio_generic_buffer ensure alignment 2024-02-02 14:13:05 +01:00
include tools headers UAPI: Sync linux/perf_event.h with the kernel sources 2024-02-02 14:13:20 +01:00
io_uring
kvm/kvm_stat
laptop
leds
lib libbpf: Fix alen calculation in libbpf_nla_dump_errormsg() 2023-05-12 17:15:01 +02:00
memory-model
nfsd
objtool objtool: Add a missing comma to avoid string concatenation 2023-03-21 10:09:01 +01:00
pci
pcmcia
perf perf tools: Add an option to build without libbfd 2023-10-30 11:42:23 +01:00
power tools/power/turbostat: Fix a knl bug 2024-02-02 14:13:09 +01:00
scripts
spi
testing selftests/powerpc: Fix error handling in FPU/VMX preemption tests 2024-02-29 15:23:34 +01:00
thermal/tmon tools/thermal: Fix possible path truncations 2022-10-17 15:01:22 +02:00
time
usb
virtio tools/virtio: fix the vringh test for virtio ring changes 2023-04-18 17:21:02 +02:00
vm tools/vm/slabinfo-gnuplot: use "grep -E" instead of "egrep" 2023-02-01 15:21:44 +01:00
wmi
Makefile