On 21/07/26 09:52:58, [email protected] wrote: > On 7/20/26 10:51, Jorge Ramirez-Ortiz wrote: > > The RPMB Well-Known LUN is untouched during boot, so its first SECURITY > > PROTOCOL command after power-on is answered with a CHECK CONDITION > > carrying a power-on UNIT ATTENTION, which ufs_scsi_exec() surfaces as > > -EINVAL. U-Boot has no SCSI mid-layer to auto-retry, so the first RPMB > > frame OP-TEE sends (the write-counter read that verifies the key) was > > lost. Reporting the UNIT ATTENTION clears it, so retry the command once. > > OK just squash this change with patch 2.
+1
