Skip to content

Fixed some issues and cleanup of ultrasoc-smb

Junhao He linux-arm-kernel lkml 3 versions – Applied

Status from this message: Applied, first 3 patches to fixes

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 5 repliesApplied
  2. v24 patches 0 repliesSuperseded
  3. v13 patches 8 repliesSuperseded

Changes in v3 from the cover letter

* Ignore the return value of smb_config_inport()

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/4coresight: ultrasoc-smb: Fix sleep while close preempt in enable_smbdrivers/hwtracing/coresight/ultrasoc-smb.c drivers/hwtracing/coresight/ultrasoc-smb.h+17 -241 reply
2/4coresight: ultrasoc-smb: Config SMB buffer before register sinkdrivers/hwtracing/coresight/ultrasoc-smb.c+8 -131 reply
3/4coresight: ultrasoc-smb: Fix uninitialized before use buf_hw_basedrivers/hwtracing/coresight/ultrasoc-smb.c+1 -11 reply
4/4coresight: ultrasoc-smb: Use guards to cleanupdrivers/hwtracing/coresight/ultrasoc-smb.c+22 -481 reply

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchJames Clark
1/4R-b
2/4R-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/4] Fixed some issues and cleanup of ultrasoc-smb

Fix the Three issues listed below and use guards to cleanup
a) Fixed the BUG of atomic-sleep
b) Fixed uninitialized before use buf_hw_base
c) Fixed use unreset SMB buffer

Changes since V2:
* Ignore the return value of smb_config_inport()

Link to V2: https://lore.kernel.org/lkml/[email protected]/

Changes since V1:
* Add comment for remove lock from smb_read()
* Move reset buffer to before register sink
* Remove patch "simplify the code for check to_copy valid"
* Add two new patches

Link to V1: https://lore.kernel.org/lkml/[email protected]/

Junhao He (4):
coresight: ultrasoc-smb: Fix sleep while close preempt in enable_smb
coresight: ultrasoc-smb: Config SMB buffer before register sink
coresight: ultrasoc-smb: Fix uninitialized before use buf_hw_base
coresight: ultrasoc-smb: Use guards to cleanup

 drivers/hwtracing/coresight/ultrasoc-smb.c | 108 +++++++--------------
 drivers/hwtracing/coresight/ultrasoc-smb.h |   6 +-
 2 files changed, 38 insertions(+), 76 deletions(-)
Signature · 1 line
2.33.0