[PATCH v3 0/3] ufs: Add callback for vendor-specific RTT capability

Martin K. Petersen martin.petersen at oracle.com
Tue Jul 28 19:54:59 PDT 2026


On Mon, 15 Jun 2026 13:57:14 +0800, ed.tsai at mediatek.com wrote:

> The first patch adds the get_hba_nortt() callback to the UFS core layer,
> allowing vendor drivers to provide dynamic, platform-specific RTT
> capability handling.
> 
> The second patch implements this callback in the MediaTek UFS driver,
> distinguishing between legacy platforms (which require the RTT to be
> limited to 2) and newer MT6995 B0+ platforms (which can use the value
> from the capability register directly).
> 
> [...]

Applied to 7.3/scsi-queue, thanks!

[1/3] ufs: core: Add get_hba_nortt callback for vendor-specific RTT capability
      https://git.kernel.org/mkp/scsi/c/e7896d02cb4d
[2/3] ufs: mediatek: Implement get_hba_nortt callback for RTT capability
      https://git.kernel.org/mkp/scsi/c/75f529a7bcd4
[3/3] ufs: core: Remove max_num_rtt field from ufs_hba_variant_ops
      https://git.kernel.org/mkp/scsi/c/7ebadbae3dd7

-- 
Martin K. Petersen



More information about the Linux-mediatek mailing list