Closed ikegami-t closed 6 days ago
@hanumanthuh Could you please revier the patch for the issue #2280? Note:
@yang8621 Could you please test the changes since I do not have a drive support supported the RPMB feature . ?
Hi @ikegami-t My RPMB was programmed. I'm not sure a virgin one can be found, but I will try to seek one. Before that, it would be great if the review could be done because key programming is a one-time operation (it can be tested only once).
Okay, I'll see if I can wrap my head around the change for the review
The first patch looks good.
The second one is not really necessary to fix the problem and it doesn't really make sense just to update one function and leave the rest in the 'old' style. The third one is big and thus it easy to miss something which shouldn't be changed. A quick binary compare between old and new version (third patch) shows that the resulting binary was not identically. So I am not really sure if we should touch this code without being able to test it. In short, it's quite a bit of a code churn without any real benefit. I would suggest we only do the minimal change as long we can't make sure the the resulting binary is identically and we know nothing has been broken by the change.
Thanks for your reviewing. Understood so deleted the second and third patches and rebased.
@yang8621 did you find a test drive? I think it's fairly safe to merge it. If it really breaks something, we can fix it up when we get a bug report.
No. But I think it can be merged. Thanks
Thanks!
This follows the NVMe revision 2.0a authentication key data flow.