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

From: Martin K. Petersen

Date: Tue Jul 28 2026 - 23:02:23 EST


On Mon, 15 Jun 2026 13:57:14 +0800, ed.tsai@xxxxxxxxxxxx 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