Re: [PATCH V1 2/2] ufs: ufs-qcom: Disable AHIT before SQ tail update to prevent race in MCQ mode

From: Bart Van Assche

Date: Wed Oct 15 2025 - 11:45:39 EST


On 10/15/25 7:08 AM, Palash Kambar wrote:
Since AHIT is a hardware-based power-saving feature, disabling it entirely
could lead to significant power penalties. Therefore, this patch aims to preserve
power efficiency while resolving the race condition.
We have tested this change and observed no noticeable performance degradation.
Also, adding in RPM callbacks will not solve the power penalty as it autosuspend timer is
3 secs in comparision to AHIT timer which is 5ms.

The runtime power management timeout can be modified. Please verify
whether the power consumption with AHIT disabled and the runtime power
management timeout set to 5 ms is acceptable.

Thanks,

Bart.