Re: [PATCH v3 0/3] ufs: Add callback for vendor-specific RTT capability
From: Martin K. Petersen
Date: Sun Jul 12 2026 - 14:11:53 EST
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