[SRU][J:linux-bluefield][PATCH v3 0/1] UBUNTU: SAUCE: mlxbf-tmfifo.c: amend previous patch

shihyic shihyic at nvidia.com
Thu Jul 20 20:39:39 UTC 2023


From: Shih-Yi Chen <shihyic at nvidia.com> 

BugLink: https://bugs.launchpad.net/ubuntu/+source/linux-bluefield/+bug/2028197

SRU Justification:

[Impact]

mlxbf_tmfifo driver does not always schedule work for VIRTIO CONSOLE nottification. The result is with rshim console, the dmesg output would be cut off or simply cat a big text file to stdout.

[Fix]

* Make sure TM_TX_LWM_IRQ bit is set when there is a notification of virtio console event.

[Test Case]

* Compare the output of dmesg from rshim console and ssh session. Make sure both are the same.
* Issue is reproduced w/o fix and compare the same dmesg output from the same as above.

[Regression Potential]

The changes affect only virtio console event handling only and been tested fully.

[Others]
This issue is the same on focal and Jammy.


Shih-Yi Chen (1):
  UBUNTU: SAUCE: mlxbf-tmfifo.c: Fix rhsim console w/ truncated dmesg
    output

 drivers/platform/mellanox/mlxbf-tmfifo.c | 2 ++
 1 file changed, 2 insertions(+)

-- 
2.30.1




More information about the kernel-team mailing list