> 
> 
> >
> > Signed-off-by: Tomas Winkler <tomas.wink...@intel.com>
> > Signed-off-by: Alexander Usyskin <alexander.usys...@intel.com>
> Tested-by: Avri Altman <avri.alt...@sandisk.com>
> 
> - mmc -  full functionality. One issue found that was fixed on V6: patch V6 
> 2/9.
> - ufs - read & read counter only.  Testing is still wip.
> 
> 
> > +static int rpmb_request_verify(struct rpmb_dev *rdev, struct rpmb_data
> > +*rpmbd) {
> 
> Seems excessive - Isn't the standard should be enforced by the device?

Yes the device is responsible to detect the issues in the protocol. The 
rpmb_request_verify is called only for the managed interface (rpmb_cmd_req) the 
raw interface (rpm_cmd_seq) is going through.  Second,  we only check more or 
less if we can accommodate the request/response into the arguments.  If there 
is a specific issue  you see in this check, please let me know.

Thanks
Tomas


Reply via email to