Add powerpc/alignment_handler test for selftests

Bug #1828935 reported by Po-Hsu Lin on 2019-05-14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Po-Hsu Lin

Bug Description

== Justification ==
There is a powerpc/alignment_handler available in the upstream for PowerPC self-testing tool.
Bring this in to cover more bits in the ubuntu_kernel_selftest test suite.

== Fix ==
* 8d191587 (selftests/powerpc: Add alignment handler selftest)
* ecdf06e1 (selftests/powerpc: Fix to use ucontext_t instead of struct ucontext)

Both of them can be cherry-picked into Bionic kernel.
The second patch is essential to fix a build error.

It's already available in Cosmic and onward.

== Test ==
Test was successfully built and passed on a Power9 node with Bionic kernel:
selftests: alignment_handler
test: test_alignment_handler_vsx_206
tags: git_version:Ubuntu-4.15.0-48.51-2-g705784d93589-dirty
VSX: 2.06B
 Doing lxvd2x: PASSED
 Doing lxvw4x: PASSED
 Doing lxsdx: PASSED
 Doing lxvdsx: PASSED
 Doing stxvd2x: PASSED
 Doing stxvw4x: PASSED
 Doing stxsdx: PASSED
success: test_alignment_handler_vsx_206
test: test_alignment_handler_vsx_207
tags: git_version:Ubuntu-4.15.0-48.51-2-g705784d93589-dirty
VSX: 2.07B
 Doing lxsspx: PASSED
 Doing lxsiwax: PASSED
 Doing lxsiwzx: PASSED
 Doing stxsspx: PASSED
 Doing stxsiwx: PASSED
success: test_alignment_handler_vsx_207
test: test_alignment_handler_vsx_300
tags: git_version:Ubuntu-4.15.0-48.51-2-g705784d93589-dirty
VSX: 3.00B
 Doing lxsd: PASSED
 Doing lxsibzx: PASSED
 Doing lxsihzx: PASSED
 Doing lxssp: PASSED
 Doing lxv: PASSED
 Doing lxvb16x: PASSED
 Doing lxvh8x: PASSED
 Doing lxvx: PASSED
 Doing lxvwsx: PASSED
 Doing lxvl: PASSED
 Doing lxvll: PASSED
 Doing stxsd: PASSED
 Doing stxsibx: PASSED
 Doing stxsihx: PASSED
 Doing stxssp: PASSED
 Doing stxv: PASSED
 Doing stxvb16x: PASSED
 Doing stxvh8x: PASSED
 Doing stxvx: PASSED
 Doing stxvl: PASSED
 Doing stxvll: PASSED
success: test_alignment_handler_vsx_300
test: test_alignment_handler_integer
tags: git_version:Ubuntu-4.15.0-48.51-2-g705784d93589-dirty
 Doing lbz: PASSED
 Doing lbzu: PASSED
 Doing lbzx: PASSED
 Doing lbzux: PASSED
 Doing lhz: PASSED
 Doing lhzu: PASSED
 Doing lhzx: PASSED
 Doing lhzux: PASSED
 Doing lha: PASSED
 Doing lhau: PASSED
 Doing lhax: PASSED
 Doing lhaux: PASSED
 Doing lhbrx: PASSED
 Doing lwz: PASSED
 Doing lwzu: PASSED
 Doing lwzx: PASSED
 Doing lwzux: PASSED
 Doing lwa: PASSED
 Doing lwax: PASSED
 Doing lwaux: PASSED
 Doing lwbrx: PASSED
 Doing ld: PASSED
 Doing ldu: PASSED
 Doing ldx: PASSED
 Doing ldux: PASSED
 Doing ldbrx: PASSED
 Doing lmw: PASSED
 Doing stb: PASSED
 Doing stbx: PASSED
 Doing stbu: PASSED
 Doing stbux: PASSED
 Doing sth: PASSED
 Doing sthx: PASSED
 Doing sthu: PASSED
 Doing sthux: PASSED
 Doing sthbrx: PASSED
 Doing stw: PASSED
 Doing stwx: PASSED
 Doing stwu: PASSED
 Doing stwux: PASSED
 Doing stwbrx: PASSED
 Doing std: PASSED
 Doing stdx: PASSED
 Doing stdu: PASSED
 Doing stdux: PASSED
 Doing stdbrx: PASSED
 Doing stmw: PASSED
success: test_alignment_handler_integer
test: test_alignment_handler_vmx
tags: git_version:Ubuntu-4.15.0-48.51-2-g705784d93589-dirty
 Doing lvx: PASSED
 Doing stvx: PASSED
 Doing stvebx: PASSED
 Doing stvehx: PASSED
 Doing stvewx: PASSED
 Doing stvxl: PASSED
success: test_alignment_handler_vmx
test: test_alignment_handler_fp
tags: git_version:Ubuntu-4.15.0-48.51-2-g705784d93589-dirty
Floating point
 Doing lfd: PASSED
 Doing lfdx: PASSED
 Doing lfdp: PASSED
 Doing lfdpx: PASSED
 Doing lfdu: PASSED
 Doing lfdux: PASSED
 Doing lfs: PASSED
 Doing lfsx: PASSED
 Doing lfsu: PASSED
 Doing lfsux: PASSED
 Doing lfiwzx: PASSED
 Doing lfiwax: PASSED
 Doing stfd: PASSED
 Doing stfdx: PASSED
 Doing stfdp: PASSED
 Doing stfdpx: PASSED
 Doing stfdu: PASSED
 Doing stfdux: PASSED
 Doing stfs: PASSED
 Doing stfsx: PASSED
 Doing stfsu: PASSED
 Doing stfsux: PASSED
 Doing stfiwx: PASSED
success: test_alignment_handler_fp
ok 1..5 selftests: alignment_handler [PASS]

== Regression Potential ==
No regression is expected, this is just adding a new test case to cover more tests.

Po-Hsu Lin (cypressyew) on 2019-05-14
Changed in linux (Ubuntu Bionic):
assignee: nobody → Po-Hsu Lin (cypressyew)
Changed in linux (Ubuntu):
status: New → Fix Released
Changed in linux (Ubuntu Bionic):
status: New → In Progress
tags: added: bionic ppc64el
Changed in linux (Ubuntu Bionic):
status: In Progress → Fix Committed

This bug is awaiting verification that the kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-bionic' to 'verification-done-bionic'. If the problem still exists, change the tag 'verification-needed-bionic' to 'verification-failed-bionic'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See for documentation how to enable and use -proposed. Thank you!

tags: added: verification-needed-bionic
tags: added: verification-done-bionic
removed: verification-needed-bionic
Launchpad Janitor (janitor) wrote :
Download full text (11.2 KiB)

This bug was fixed in the package linux - 4.15.0-55.60

linux (4.15.0-55.60) bionic; urgency=medium

  * linux: 4.15.0-55.60 -proposed tracker (LP: #1834954)

  * Request backport of ceph commits into bionic (LP: #1834235)
    - ceph: use atomic_t for ceph_inode_info::i_shared_gen
    - ceph: define argument structure for handle_cap_grant
    - ceph: flush pending works before shutdown super
    - ceph: send cap releases more aggressively
    - ceph: single workqueue for inode related works
    - ceph: avoid dereferencing invalid pointer during cached readdir
    - ceph: quota: add initial infrastructure to support cephfs quotas
    - ceph: quota: support for ceph.quota.max_files
    - ceph: quota: don't allow cross-quota renames
    - ceph: fix root quota realm check
    - ceph: quota: support for ceph.quota.max_bytes
    - ceph: quota: update MDS when max_bytes is approaching
    - ceph: quota: add counter for snaprealms with quota
    - ceph: avoid iput_final() while holding mutex or in dispatch thread

  * QCA9377 isn't being recognized sometimes (LP: #1757218)
    - SAUCE: USB: Disable USB2 LPM at shutdown

  * hns: fix ICMP6 neighbor solicitation messages discard problem (LP: #1833140)
    - net: hns: fix ICMP6 neighbor solicitation messages discard problem
    - net: hns: fix unsigned comparison to less than zero

  * Fix occasional boot time crash in hns driver (LP: #1833138)
    - net: hns: Fix probabilistic memory overwrite when HNS driver initialized

  * use-after-free in hns_nic_net_xmit_hw (LP: #1833136)
    - net: hns: fix KASAN: use-after-free in hns_nic_net_xmit_hw()

  * hns: attempt to restart autoneg when disabled should report error
    (LP: #1833147)
    - net: hns: Restart autoneg need return failed when autoneg off

  * systemd 237-3ubuntu10.14 ADT test failure on Bionic ppc64el (test-seccomp)
    (LP: #1821625)
    - powerpc: sys_pkey_alloc() and sys_pkey_free() system calls
    - powerpc: sys_pkey_mprotect() system call

  * [UBUNTU] pkey: Indicate old mkvp only if old and curr. mkvp are different
    (LP: #1832625)
    - pkey: Indicate old mkvp only if old and current mkvp are different

  * [UBUNTU] kernel: Fix gcm-aes-s390 wrong scatter-gather list processing
    (LP: #1832623)
    - s390/crypto: fix gcm-aes-s390 selftest failures

  * System crashes on hot adding a core with drmgr command (4.15.0-48-generic)
    (LP: #1833716)
    - powerpc/numa: improve control of topology updates
    - powerpc/numa: document topology_updates_enabled, disable by default

  * Kernel modules generated incorrectly when system is localized to a non-
    English language (LP: #1828084)
    - scripts: override locale from environment when running

  * [UBUNTU] kernel: Fix wrong dispatching for control domain CPRBs
    (LP: #1832624)
    - s390/zcrypt: Fix wrong dispatching for control domain CPRBs

  * CVE-2019-11815
    - net: rds: force to destroy connection if t_sock is NULL in

  * Sound device not detected after resume from hibernate (LP: #1826868)
    - drm/i915: Force 2*96 MHz cdclk on glk/cnl when audio power is enabled
    - drm/i915: Save the old CDCLK atomic state

Changed in linux (Ubuntu Bionic):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers