Add powerpc/alignment_handler test for selftests
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
Undecided
|
Po-Hsu Lin |
Bug Description
== Justification ==
There is a powerpc/
Bring this in to cover more bits in the ubuntu_
== 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_
tags: git_version:
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_
test: test_alignment_
tags: git_version:
VSX: 2.07B
Doing lxsspx: PASSED
Doing lxsiwax: PASSED
Doing lxsiwzx: PASSED
Doing stxsspx: PASSED
Doing stxsiwx: PASSED
success: test_alignment_
test: test_alignment_
tags: git_version:
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_
test: test_alignment_
tags: git_version:
Integer
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_
test: test_alignment_
tags: git_version:
VMX
Doing lvx: PASSED
Doing stvx: PASSED
Doing stvebx: PASSED
Doing stvehx: PASSED
Doing stvewx: PASSED
Doing stvxl: PASSED
success: test_alignment_
test: test_alignment_
tags: git_version:
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_
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.
CVE References
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 |
https:/ /lists. ubuntu. com/archives/ kernel- team/2019- May/100684. html