Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] ufs: Add callback for vendor-specific RTT capability
@ 2026-06-09 10:38 ed.tsai
  2026-06-09 10:38 ` [PATCH 1/2] ufs: core: Add get_hba_nortt " ed.tsai
  2026-06-09 10:38 ` [PATCH 2/2] ufs: mediatek: Implement get_hba_nortt callback for " ed.tsai
  0 siblings, 2 replies; 7+ messages in thread
From: ed.tsai @ 2026-06-09 10:38 UTC (permalink / raw)
  To: alim.akhtar, avri.altman, bvanassche, James.Bottomley,
	martin.petersen, linux-scsi
  Cc: linux-kernel, linux-arm-kernel, linux-mediatek, wsd_upstream,
	peter.wang, alice.chao, naomi.chu, chun-hung.wu, Ed Tsai

From: Ed Tsai <ed.tsai@mediatek.com>

The first patch adds the get_hba_nortt() callback to the UFS core layer
and removes the static max_num_rtt field from ufs_hba_variant_ops. This
allows platform vendors to provide dynamic, platform-specific RTT capability
handling.

The second patch implements this callback in the MediaTek UFS driver,
distinguishing between legacy and newer platforms.

Ed Tsai (2):
  ufs: core: Add get_hba_nortt callback for vendor-specific RTT
    capability
  ufs: mediatek: Implement get_hba_nortt callback for RTT capability

 drivers/ufs/core/ufshcd.c       |  9 +++++----
 drivers/ufs/host/ufs-mediatek.c | 12 +++++++++++-
 drivers/ufs/host/ufs-mediatek.h |  4 ++--
 include/ufs/ufshcd.h            |  5 +++--
 4 files changed, 21 insertions(+), 9 deletions(-)

--
2.45.2


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

end of thread, other threads:[~2026-06-10 16:47 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-09 10:38 [PATCH 0/2] ufs: Add callback for vendor-specific RTT capability ed.tsai
2026-06-09 10:38 ` [PATCH 1/2] ufs: core: Add get_hba_nortt " ed.tsai
2026-06-10  5:33   ` Peter Wang (王信友)
2026-06-10 16:46   ` Bart Van Assche
2026-06-09 10:38 ` [PATCH 2/2] ufs: mediatek: Implement get_hba_nortt callback for " ed.tsai
2026-06-10  5:34   ` Peter Wang (王信友)
2026-06-10 16:46   ` Bart Van Assche

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