tm-unavailable in powerpc/tm failed on Bionic Power9
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-kernel-tests |
Fix Released
|
Undecided
|
Po-Hsu Lin | ||
linux (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
Undecided
|
Po-Hsu Lin |
Bug Description
== Justification ==
The tm-unavailable test in powerpc from ubuntu_
$ sudo ./tm-unavailable
Checking if FP/VEC registers are sane after a FP unavailable exception...
Illegal instruction
This is because the Hardware Transactional Memory (HTM) is not supported on the revision of the processor in our PowerPC boxes.
== Fix ==
b395e55b (selftests/powerpc: Skip tm-unavailable if TM is not enabled)
With a prerequisite to make it a clean cherry-pick:
5783ee6e (selftests/powerpc: Check for pthread errors in tm-unavailable)
An extra check for this test:
SKIP_
Will be added to ensure we have HTM support before start testing.
This patchset has already landed in Cosmic and newer, and can be cherry-picked for Bionic.
For Xenial, we don't have this test in our tree.
== Test ==
Patch verified on a Bionic P9 system, the test will be marked as passed (skipped) with these two patches applied.
== Regression potential ==
None.
This patch is just for the kernel testing tool.
== Original Bug Report ==
$ sudo ./tm-unavailable
Checking if FP/VEC registers are sane after a FP unavailable exception...
Illegal instruction
For Power8 it's OK:
For P9 on Cosmic, this test will be skipped:
selftests: tm: tm-unavailable
======
test: tm_unavailable_test
tags: git_version:unknown
skip: tm_unavailable_test
ok 1..10 selftests: tm: tm-unavailable [PASS]
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: linux-image-
ProcVersionSign
Uname: Linux 4.15.0-44-generic ppc64le
AlsaDevices:
total 0
crw-rw---- 1 root audio 116, 1 Jan 24 07:22 seq
crw-rw---- 1 root audio 116, 33 Jan 24 07:22 timer
AplayDevices: Error: [Errno 2] No such file or directory: 'aplay': 'aplay'
ApportVersion: 2.20.9-0ubuntu7.5
Architecture: ppc64el
ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord': 'arecord'
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
Date: Thu Jan 24 08:46:56 2019
IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig': 'iwconfig'
Lsusb:
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 0451:80ff Texas Instruments, Inc.
Bus 001 Device 004: ID 0557:2419 ATEN International Co., Ltd
Bus 001 Device 002: ID 0557:7000 ATEN International Co., Ltd Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
PciMultimedia:
ProcFB: 0 astdrmfb
ProcKernelCmdLine: root=UUID=
ProcLoadAvg: 0.15 0.10 1.47 1/1357 32937
ProcLocks:
1: FLOCK ADVISORY WRITE 3482 00:17:520 0 EOF
2: POSIX ADVISORY WRITE 3746 00:17:580 0 EOF
3: POSIX ADVISORY WRITE 1800 00:17:368 0 EOF
4: FLOCK ADVISORY WRITE 3744 00:17:568 0 EOF
5: POSIX ADVISORY WRITE 3831 00:17:588 0 EOF
ProcSwaps:
Filename Type Size Used Priority
/swap.img file 8388544 0 -2
ProcVersion: Linux version 4.15.0-44-generic (buildd@
RelatedPackageV
linux-
linux-
linux-firmware 1.173.3
RfKill: Error: [Errno 2] No such file or directory: 'rfkill': 'rfkill'
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
VarLogDump_list: total 0
cpu_cores: Number of cores present = 40
cpu_coreson: Number of cores online = 40
cpu_dscr: DSCR is 5
cpu_freq:
min: 2.862 GHz (cpu 159)
max: 2.862 GHz (cpu 3)
avg: 2.862 GHz
cpu_runmode:
Could not retrieve current diagnostics mode,
No kernel interface to firmware
cpu_smt: SMT=4
Changed in linux (Ubuntu): | |
status: | Confirmed → Fix Released |
Changed in linux (Ubuntu Bionic): | |
assignee: | nobody → Po-Hsu Lin (cypressyew) |
Changed in ubuntu-kernel-tests: | |
assignee: | nobody → Po-Hsu Lin (cypressyew) |
status: | New → In Progress |
Changed in linux (Ubuntu Bionic): | |
status: | Confirmed → In Progress |
description: | updated |
Changed in linux (Ubuntu Bionic): | |
status: | In Progress → Fix Committed |
This change was made by a bot.