summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorEd Tsai <ed.tsai@mediatek.com>2026-06-15 13:57:16 +0800
committerMartin K. Petersen <martin.petersen@oracle.com>2026-07-12 14:09:42 -0400
commit75f529a7bcd4aaac7cf73dc885041d7f66403570 (patch)
treebeb314cde2e15af385c3c69ec7f69ea1257cc0b3 /tools/perf/scripts/python
parente7896d02cb4d0e6b4e97c62af669109ab809c0ca (diff)
scsi: ufs: mediatek: Implement get_hba_nortt callback for RTT capability
Implement the get_hba_nortt callback to handle platform-specific RTT capability differences: - For legacy platforms and IP versions before MT6995 B0, the RTT capability from host controller register is problematic, so limit it to 2 (MTK_MAX_NUM_RTT_LEGACY). - For MT6995 B0 and later platforms, the issue is fixed and the value from host controller capability register can be used directly. This replaces the previous max_num_rtt field in ufs_hba_variant_ops with dynamic platform-specific logic. Signed-off-by: Ed Tsai <ed.tsai@mediatek.com> Reviewed-by: Peter Wang <peter.wang@mediatek.com> Reviewed-by: Bart Van Assche <bvanassche@acm.org> Link: https://patch.msgid.link/20260615055802.105479-3-ed.tsai@mediatek.com Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions