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

Bart Van Assche
2020-06-11T01:39:31Z

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.