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

Martin K. Petersen martin.petersen at oracle.com
Sun Jul 12 11:11:24 PDT 2026


Ed,

> 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).
>
> The third patch removes the max_num_rtt field from ufs_hba_variant_ops
> as it is now replaced by the get_hba_nortt() callback.

Applied to 7.3/scsi-staging, thanks!

-- 
Martin K. Petersen



More information about the Linux-mediatek mailing list