Re: [PATCH v5] ufs: core: print UFSHCD capabilities in controller's sysfs node

From: Bart Van Assche
Date: Tue Aug 02 2022 - 00:02:40 EST


On 8/1/22 20:20, Daniil Lunev wrote:
Is the "capabilities" directory a directory with capabilities of the
host, with capabilities of the UFS device or perhaps with capabilities
of both?
>
I would say effective capabilities of the controller-device pair, from the
semantic that hba->caps field presents. Do you want me to mention it
anywhere?

Calling this the effective capabilities of the controller-device pair sounds good to me. But please do not refer to hba->caps. I'd like to rework hba->caps such that it only includes controller capabilities and no information related to the WriteBooster. Additionally, several UFS device capabilities that may be exported in the future are not represented in hba->caps.

Thanks,

Bart.