[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20221107131038.201724-1-beanhuo@iokpp.de>
Date: Mon, 7 Nov 2022 14:10:36 +0100
From: Bean Huo <beanhuo@...pp.de>
To: alim.akhtar@...sung.com, avri.altman@....com, jejb@...ux.ibm.com,
martin.petersen@...cle.com, stanley.chu@...iatek.com,
beanhuo@...ron.com, bvanassche@....org, tomas.winkler@...el.com,
daejun7.park@...sung.com, quic_cang@...cinc.com,
quic_nguyenb@...cinc.com, quic_xiaosenh@...cinc.com,
quic_richardp@...cinc.com, quic_asutoshd@...cinc.com, hare@...e.de
Cc: linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org,
Bean Huo <beanhuo@...pp.de>
Subject: [RFC PATCH v1 0/2] UFS Advanced RPMB
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. 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
Powered by blists - more mailing lists