------- Comment From [email protected] 2019-05-20 15:09 EDT-------
I tried that kernel out and it works:
root@ltc-boston25:/home/ubuntu/comp_selftest# cat /proc/version
Linux version 4.15.0-51-generic (buildd@bos02-ppc64el-003) (gcc version 7.4.0 
(Ubuntu 7.4.0-1ubuntu1~18.04)) #55~lp1827755+build.1-Ubuntu SMP Fri May 17 
18:53:29 UTC 2019
root@ltc-boston25:/home/ubuntu/comp_selftest# insmod comp_selftest.ko
root@ltc-boston25:/home/ubuntu/comp_selftest# ./testit
root@ltc-boston25:/home/ubuntu/comp_selftest# dmesg |tail
<snip>
[  354.958178] comp_selftest: loading out-of-tree module taints kernel.
[  354.958396] comp_selftest: module verification failed: signature and/or 
required key missing - tainting kernel
[  361.124620] compression self test starting
[  361.124623]   compressor: 842-nx
[  361.124624]   repeat: Y
[  361.124625]   threads: 16
[  361.124627]   offsets 0-0/1, 0-0/1, 0-0/1
[  361.124630]   lengths 10000-10000/1, 10000-10000/1, 10000-10000/1
root@ltc-boston25:/home/ubuntu/comp_selftest# cat 
/sys/kernel/debug/comp_selftest/status
^Creads 16 MBps: 45192/39510 peak 45509/43884 off 0/0/0 len 10000/10000/10000
root@ltc-boston25:/home/ubuntu/comp_selftest#

Where comp_selftest is the comp_selftest.c/README located here:
https://github.com/sukadev/linux/tree/ee0c8b0c3dcb8856c5998ac21e01916ea430f687/crypto/comp_selftest
and testit is just a copy/paste from the README of the commands to get the test 
running (up to status).

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1827755

Title:
  nx842 - CRB request time out (-110) when uninstall NX modules and
  initiate NX request

Status in The Ubuntu-power-systems project:
  Incomplete
Status in linux package in Ubuntu:
  Incomplete

Bug description:
  ---Problem Description---
  Normally nx-compress and nx-842-powernv modules are loaded when selects 
842-nx compressor if not loaded and execute forever during system execution. So 
we will not see this bug in normal case. 

  But we are seeing NX CRB request timeout when uninstall these modules and 
load them or select 842-nx compressor. 
    
  ---uname output---
  18.04
   
  Machine Type = P9 system 
    
  ---Steps to Reproduce---
  - Install  nx-compress and nx-842-powernv modules
  - Initiate NX request
  - Uninstall these modules
  - Initiate NX request again and we get CRB timeout with error -110

  Patches are included in 4.19-rc1

  6e708000ec2c93c2bde6a46aa2d6c3e80d4eaeb9 - powerpc/powernv: Export 
opal_check_token symbol
  656ecc16e8fc2ab44b3d70e3fcc197a7020d0ca5 -  crypto/nx: Initialize 842 high 
and normal RxFIFO control registers

  > Looks like the first commit was included in a recent 18.04 update
  > (4.15.0-48.51), see
  > https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1819989
  > 
  > but I don't see the second one there yet.
  > 
  > If this is still needed, I would suggest getting this bug mirrored to LP to
  > put on Canonical's radar.

  We need second commit (656ecc16e8fc2ab44b3d70e3fcc197a7020d0ca) to fix
  this actual issue. But no use of having the first commit without
  second one. The first one just exports opal_check_token symbol which
  is used in the second commit.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-power-systems/+bug/1827755/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to