[Bug 1953366] Re: spectre_v2 from ubuntu_kernel_selftests ADT test failure with 5.13/5.11 ppc64el

2022-04-29 Thread Kleber Sacilotto de Souza
Thadeu's patch "3c42e9542050 selftests/powerpc/spectre_v2: Return skip
code when miss_percent is high" was merged on mainline for v5.17-rc1 and
applied via upstream stable to jammy/linux for Ubuntu-5.15.0-19.19 and
to impish/linux for Ubuntu-5.13.0-40.45.

** Changed in: linux (Ubuntu)
   Status: Incomplete => Fix Released

** Changed in: linux (Ubuntu Impish)
   Status: Confirmed => Fix Released

** Changed in: linux (Ubuntu Jammy)
   Status: Confirmed => Fix Released

** Changed in: ubuntu-kernel-tests
   Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1953366

Title:
  spectre_v2 from ubuntu_kernel_selftests ADT test failure with
  5.13/5.11 ppc64el

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1953366/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1953366] Re: spectre_v2 from ubuntu_kernel_selftests ADT test failure with 5.13/5.11 ppc64el

2022-04-29 Thread Kleber Sacilotto de Souza
** Also affects: linux (Ubuntu Jammy)
   Importance: Undecided
   Status: New

** Also affects: linux (Ubuntu Impish)
   Importance: Undecided
   Status: New

** Changed in: linux (Ubuntu Impish)
   Status: New => Confirmed

** Changed in: linux (Ubuntu Jammy)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1953366

Title:
  spectre_v2 from ubuntu_kernel_selftests ADT test failure with
  5.13/5.11 ppc64el

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1953366/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1953366] Re: spectre_v2 from ubuntu_kernel_selftests ADT test failure with 5.13/5.11 ppc64el

2021-12-07 Thread Thadeu Lima de Souza Cascardo
https://lore.kernel.org/linuxppc-
dev/20211207130557.40566-1-casca...@canonical.com/T/#u

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1953366

Title:
  spectre_v2 from ubuntu_kernel_selftests ADT test failure with
  5.13/5.11 ppc64el

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1953366/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1953366] Re: spectre_v2 from ubuntu_kernel_selftests ADT test failure with 5.13/5.11 ppc64el

2021-12-07 Thread Thadeu Lima de Souza Cascardo
This looks like very similar to the vulnerable case that I changed to
return as skipped. It's possible that the host is doing one mitigation
while the guest is informed of a different mitigation, leading to this
mis-match.

I will take this upstream and see how it goes.

Cascardo.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1953366

Title:
  spectre_v2 from ubuntu_kernel_selftests ADT test failure with
  5.13/5.11 ppc64el

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1953366/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1953366] Re: spectre_v2 from ubuntu_kernel_selftests ADT test failure with 5.13/5.11 ppc64el

2021-12-07 Thread Thadeu Lima de Souza Cascardo
As this is failing on ADT, it is failing on VMs on an environment we
don't have much control of. This could be caused by host kernel, qemu or
libvirt combinations that will make the guest kernel observe a given
mitigation while it's not really in place.

This test was added after 5.4, so the failure won't be observed on
kernels before 5.11. I have fixed it once so it detects the Vulnerable
case and have the test return the SKIP code.

We need to fix this sooner rather than later, otherwise ADT test results
will continue to fail. The other option is to skip this on our tests.

Cascardo.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1953366

Title:
  spectre_v2 from ubuntu_kernel_selftests ADT test failure with
  5.13/5.11 ppc64el

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1953366/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1953366] Re: spectre_v2 from ubuntu_kernel_selftests ADT test failure with 5.13/5.11 ppc64el

2021-12-06 Thread Po-Hsu Lin
** Also affects: ubuntu-kernel-tests
   Importance: Undecided
   Status: New

** Tags added: sru-20211129

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1953366

Title:
  spectre_v2 from ubuntu_kernel_selftests ADT test failure with
  5.13/5.11 ppc64el

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1953366/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1953366] Re: spectre_v2 from ubuntu_kernel_selftests ADT test failure with 5.13/5.11 ppc64el

2021-12-06 Thread Po-Hsu Lin
** Tags added: 5.13 ubuntu-kernel-selftests

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1953366

Title:
  spectre_v2 from ubuntu_kernel_selftests ADT test failure with
  5.13/5.11 ppc64el

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1953366/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1953366] Re: spectre_v2 from ubuntu_kernel_selftests ADT test failure with 5.13/5.11 ppc64el

2021-12-06 Thread Kelsey Skunberg
** Description changed:

  This is a scripted bug report about ADT failures while running linux
  tests for linux/5.13.0-23.23 on impish. Whether this is caused by the
  dep8 tests of the tested source or the kernel has yet to be determined.
+ 
+ This test was previously being skipped. After recent test changes, it's
+ now showing up as a failure. Not a regression.
  
  ubuntu_kernel_selftests.powerpc/security:spectre_v2 consistently failing
  on 5.13 and 5.11
  
  Found failing on:
-   Impish/linux 5.13.0-23.23
-   Hirsute/linux 5.11.0-42.46 (passed on first run, though failing after 
retrigger)
-   Foal/hwe-5.13 5.13.0-23.23~20.04.1
-   Focal/hwe-5.11 5.11.0-42.46~20.04.1
- 
+   Impish/linux 5.13.0-23.23
+   Hirsute/linux 5.11.0-42.46 (passed on first run, though failing after 
retrigger)
+   Foal/hwe-5.13 5.13.0-23.23~20.04.1
+   Focal/hwe-5.11 5.11.0-42.46~20.04.1
  
  23:45:31 DEBUG| [stdout] # selftests: powerpc/security: spectre_v2
  23:45:31 DEBUG| [stdout] # test: spectre_v2
  23:45:31 DEBUG| [stdout] # tags: git_version:d9c024c2-dirty
  23:45:50 DEBUG| [stdout] # sysfs reports: 'Mitigation: Software count cache 
flush, Software link stack flush'
  23:45:50 DEBUG| [stdout] #  PM_BR_PRED_CCACHE: result 2147483649 
running/enabled 19680067308
  23:45:50 DEBUG| [stdout] # PM_BR_MPRED_CCACHE: result 2147475077 
running/enabled 19680064034
  23:45:50 DEBUG| [stdout] #  PM_BR_PRED_PCACHE: result  0 
running/enabled 19680062840
  23:45:50 DEBUG| [stdout] # PM_BR_MPRED_PCACHE: result  0 
running/enabled 19680061722
  23:45:50 DEBUG| [stdout] # Miss percent 99 %
  23:45:50 DEBUG| [stdout] # Branch misses > 15% unexpected in this 
configuration!
  23:45:50 DEBUG| [stdout] # Possible mis-match between reported & actual 
mitigation
  23:45:50 DEBUG| [stdout] # failure: spectre_v2
  23:45:50 DEBUG| [stdout] not ok 1 selftests: powerpc/security: spectre_v2 # 
exit=1
  23:45:50 DEBUG| [stdout] make: Leaving directory 
'/tmp/autopkgtest.XkeXuO/build.i7C/src/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/powerpc/security'
  
- 
  Testing failed on:
  ppc64el: 
https://autopkgtest.ubuntu.com/results/autopkgtest-impish/impish/ppc64el/l/linux/20211204_000820_141a2@/log.gz

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1953366

Title:
  spectre_v2 from ubuntu_kernel_selftests ADT test failure with
  5.13/5.11 ppc64el

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1953366/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1953366] Re: spectre_v2 from ubuntu_kernel_selftests ADT test failure with 5.13/5.11 ppc64el

2021-12-06 Thread Kelsey Skunberg
** Summary changed:

- spectre_v2 from ubuntu_kernel_selftests failure with Impish/Hirsute ppc64el
+ spectre_v2 from ubuntu_kernel_selftests ADT test failure with 5.13/5.11 
ppc64el

** Description changed:

  This is a scripted bug report about ADT failures while running linux
  tests for linux/5.13.0-23.23 on impish. Whether this is caused by the
  dep8 tests of the tested source or the kernel has yet to be determined.
  
+ ubuntu_kernel_selftests.powerpc/security:spectre_v2 consistently failing
+ on 5.13 and 5.11
+ 
+ Found failing on:
+   Impish/linux 5.13.0-23.23
+   Hirsute/linux 5.11.0-42.46 (passed on first run, though failing after 
retrigger)
+   Foal/hwe-5.13 5.13.0-23.23~20.04.1
+   Focal/hwe-5.11 5.11.0-42.46~20.04.1
+ 
+ 
+ 23:45:31 DEBUG| [stdout] # selftests: powerpc/security: spectre_v2
+ 23:45:31 DEBUG| [stdout] # test: spectre_v2
+ 23:45:31 DEBUG| [stdout] # tags: git_version:d9c024c2-dirty
+ 23:45:50 DEBUG| [stdout] # sysfs reports: 'Mitigation: Software count cache 
flush, Software link stack flush'
+ 23:45:50 DEBUG| [stdout] #  PM_BR_PRED_CCACHE: result 2147483649 
running/enabled 19680067308
+ 23:45:50 DEBUG| [stdout] # PM_BR_MPRED_CCACHE: result 2147475077 
running/enabled 19680064034
+ 23:45:50 DEBUG| [stdout] #  PM_BR_PRED_PCACHE: result  0 
running/enabled 19680062840
+ 23:45:50 DEBUG| [stdout] # PM_BR_MPRED_PCACHE: result  0 
running/enabled 19680061722
+ 23:45:50 DEBUG| [stdout] # Miss percent 99 %
+ 23:45:50 DEBUG| [stdout] # Branch misses > 15% unexpected in this 
configuration!
+ 23:45:50 DEBUG| [stdout] # Possible mis-match between reported & actual 
mitigation
+ 23:45:50 DEBUG| [stdout] # failure: spectre_v2
+ 23:45:50 DEBUG| [stdout] not ok 1 selftests: powerpc/security: spectre_v2 # 
exit=1
+ 23:45:50 DEBUG| [stdout] make: Leaving directory 
'/tmp/autopkgtest.XkeXuO/build.i7C/src/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/powerpc/security'
+ 
+ 
  Testing failed on:
- amd64: 
https://autopkgtest.ubuntu.com/results/autopkgtest-impish/impish/amd64/l/linux/20211129_233258_23074@/log.gz
- arm64: 
https://autopkgtest.ubuntu.com/results/autopkgtest-impish/impish/arm64/l/linux/20211204_001958_634a0@/log.gz
- ppc64el: 
https://autopkgtest.ubuntu.com/results/autopkgtest-impish/impish/ppc64el/l/linux/20211204_000820_141a2@/log.gz
- s390x: 
https://autopkgtest.ubuntu.com/results/autopkgtest-impish/impish/s390x/l/linux/20211129_205509_9a143@/log.gz
+ ppc64el: 
https://autopkgtest.ubuntu.com/results/autopkgtest-impish/impish/ppc64el/l/linux/20211204_000820_141a2@/log.gz

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1953366

Title:
  spectre_v2 from ubuntu_kernel_selftests ADT test failure with
  5.13/5.11 ppc64el

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1953366/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs