Re: [RFC PATCH 2/5] scsi: ufs: Add UFS-feature layer

From: Bart Van Assche
Date: Wed Jun 10 2020 - 21:39:28 EST


On 2020-06-04 18:30, Daejun Park wrote:
> This patch is adding UFS feature layer to UFS core driver.
>
> UFS Driver data structure (struct ufs_hba)
> â
> â--------------â
> â UFS feature â <-- HPB module
> â layer â <-- other extended feature module
> â--------------â
> Each extended UFS-Feature module has a bus of ufs-ext feature type.
> The UFS feature layer manages common APIs used by each extended feature
> module. The APIs are set of UFS Query requests and UFS Vendor commands
> related to each extended feature module.

Personally I'm less than enthusiast that this new feature layer has been
implemented using the driver/bus model. But it seems like nobody else
objects against this model ...

Bart.