RE: [RFC PATCH v1 0/2] UFS Advanced RPMB

From: Avri Altman
Date: Tue Nov 08 2022 - 07:37:43 EST


Hi,
> In UFS 4.0, it introduced advanced RPMB, which can significantly improve
> RPMB's command performance, enhancing its atomic operation. We don't
> know which implementation will please everyone, mark this advanced RPMB
> patch as RFC. Any suggestions to make the patch a master patch are welcome.
>
> Based on suggestions and feedback from Hannes Reinecke and Bart, we can
> use job_bsg->request and job_bsg->reply to pass EHS packets without changing
> the BSG V4 structure and BSG core.
Can you share the reference to this mail thread, or was it a privet discussion?

Thanks,
Avri

>So we push RFC patch just to start
> Advanced RPMB mainlining
>
> Bean Huo (2):
> ufs: core: Advanced RPMB detection
> ufs: core: Add advanced RPMB support in ufs_bsg
>
> drivers/ufs/core/ufs_bsg.c | 115 +++++++++++++---------
> drivers/ufs/core/ufshcd.c | 161 ++++++++++++++++++++++++-------
> include/uapi/scsi/scsi_bsg_ufs.h | 30 +++++-
> include/ufs/ufs.h | 3 +
> include/ufs/ufshcd.h | 5 +
> 5 files changed, 233 insertions(+), 81 deletions(-)
>
> --
> 2.25.1