Re: [PATCH V2 2/2] ufs: ufs-qcom: Enable Auto Hibern8 clock request support

From: Palash Kambar

Date: Fri Apr 03 2026 - 08:02:04 EST




On 3/28/2026 2:52 AM, Bart Van Assche wrote:
> On 3/27/26 2:03 AM, palash.kambar@xxxxxxxxxxxxxxxx wrote:
>> On platforms that support Auto Hibern8 (AH8), the UFS controller can
>> autonomously de-assert clk_req signals to the GCC when entering the
>> Hibern8 state. This allows GCC to gate unused clocks, improving
>> power efficiency.
>
> What is the "GCC"? Please expand acronyms that are neither defined in
> the UFSHCI standard nor in the UFS standard.
>
>> +static void ufs_qcom_link_startup_post_change(struct ufs_hba *hba)
>> +{
>> +    if (ufshcd_is_auto_hibern8_supported(hba)) {
>> +        ufshcd_rmwl(hba, UFS_HW_CLK_CTRL_EN, UFS_HW_CLK_CTRL_EN,
>> +                UFS_AH8_CFG);
>> +    }
>> +}
>
> From the Linux kernel coding style "Do not unnecessarily use braces where a single statement will do." Please follow that rule.
>
> Thanks,
>
> Bart.


Sure Bart, will address these comments.