mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/4] Fixed some issues and cleanup of ultrasoc-smb
@ 2023-10-21  8:38 Junhao He
  2023-10-21  8:38 ` [PATCH v2 1/4] coresight: ultrasoc-smb: Fix sleep while close preempt in enable_smb Junhao He
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Junhao He @ 2023-10-21  8:38 UTC (permalink / raw)
  To: suzuki.poulose, james.clark
  Cc: coresight, linux-arm-kernel, linux-kernel, linuxarm,
	jonathan.cameron, yangyicong, prime.zeng, hejunhao3

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 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/20231012094706.21565-1-hejunhao3@huawei.com/

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, 37 insertions(+), 77 deletions(-)

-- 
2.33.0


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-10-21  8:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-21  8:38 [PATCH v2 0/4] Fixed some issues and cleanup of ultrasoc-smb Junhao He
2023-10-21  8:38 ` [PATCH v2 1/4] coresight: ultrasoc-smb: Fix sleep while close preempt in enable_smb Junhao He
2023-10-21  8:38 ` [PATCH v2 2/4] coresight: ultrasoc-smb: Config SMB buffer before register sink Junhao He
2023-10-21  8:38 ` [PATCH v2 3/4] coresight: ultrasoc-smb: Fix uninitialized before use buf_hw_base Junhao He
2023-10-21  8:38 ` [PATCH v2 4/4] coresight: ultrasoc-smb: Use guards to cleanup Junhao He

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®