I can reproduce this issue with 4.13.0-37-generic. The debugfs info for the zip 
driver shows that 2 requests are pending. Either the requests are not submitted 
properly (Decomp Req Submitted=0) or
not completed (DOORBELL regs = 0).
root@crb1s:/sys/kernel/debug/thunderx_zip# cat zip_stats 
        ZIP Device 0 Stats
-----------------------------------
Comp Req Submitted        :     0
Comp Req Completed        :     0
Compress In Bytes         :     0
Compressed Out Bytes      :     0
Average Chunk size        :     0
Average Compression ratio :     0
Decomp Req Submitted      :     0
Decomp Req Completed      :     0
Decompress In Bytes       :     0
Decompressed Out Bytes    :     0
Decompress Bad requests   :     0
Pending Req               :     2
---------------------------------
root@crb1s:/sys/kernel/debug/thunderx_zip# cat zip_regs 
--------------------------------
     ZIP Device 0 Registers
--------------------------------
ZIP_CMD_CTL        : 0x0000000000000002
ZIP_THROTTLE       : 0x0000000000000010
ZIP_CONSTANTS      : 0x02017c0020060000
ZIP_QUE0_MAP       : 0x0000000000000003
ZIP_QUE1_MAP       : 0x0000000000000003
ZIP_QUE_ENA        : 0x0000000000000003
ZIP_QUE_PRI        : 0x0000000000000003
ZIP_QUE0_DONE      : 0x0000000000000000
ZIP_QUE1_DONE      : 0x0000000000000000
ZIP_QUE0_DOORBELL  : 0x0000000000000000
ZIP_QUE1_DOORBELL  : 0x0000000000000000
ZIP_QUE0_SBUF_ADDR : 0x00000000fa040100
ZIP_QUE1_SBUF_ADDR : 0x00000000fa042000
ZIP_QUE0_SBUF_CTL  : 0x000003f100000000
ZIP_QUE1_SBUF_CTL  : 0x000003f100000000

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

Title:
  ubuntu_zram_smoke test will cause soft lockup on Artful ThunderX ARM64

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

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

Reply via email to