RE: [PATCH v2 5/5] scsi: ufs: UFS Host Performance Booster(HPB) driver

From: Avri Altman
Date: Sat May 02 2020 - 12:19:26 EST


Hi Bean,

> To me, hierarchical design sounds good, and move the implementation of
> HPB manager module to SCSI layer is nice. but what is opinion of
> others? and which way they prefer. or they want us to continue current
> Samsung approach and solve its cons further.
I can put an RFC together in few days.
My plan is to borrow as much as possible from Samsung driver,
But to move the L2P cache management and HPB-READ command setup to the scsi mid-layer.
Also maybe elaborate the host-managed mode logic to some extent.
This will not be a full-fledged driver, but more of a skeleton -
The gory details can come after, once we'll agree on the general concept.

Let's wait few days more to allow some more people to comment.
Ideally, this should be a joint effort of the ufs community,
Given the size of this driver, and the industry's interest and focus.

Thanks,
Avri