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

From: Peter Wang (王信友)

Date: Mon Jun 15 2026 - 04:49:26 EST


On Mon, 2026-06-15 at 13:57 +0800, ed.tsai@xxxxxxxxxxxx wrote:
> From: Ed Tsai <ed.tsai@xxxxxxxxxxxx>
>
> The number of outstanding RTTs read from host controller capability
> register is problematic on some platforms. Add a new vendor callback
> get_hba_nortt() to allow platform vendors to override the default RTT
> capability value with platform-specific handling.
>
> This patch keeps max_num_rtt field for bisectability and will be
> removed
> in a later patch once all platforms are migrated.
>
> Signed-off-by: Ed Tsai <ed.tsai@xxxxxxxxxxxx>
> ---

Reviewed-by: Peter Wang <peter.wang@xxxxxxxxxxxx>