Don't relay on the doorbell register to track our slots. As of the
authormglocker <mglocker@openbsd.org>
Thu, 9 May 2024 08:02:59 +0000 (08:02 +0000)
committermglocker <mglocker@openbsd.org>
Thu, 9 May 2024 08:02:59 +0000 (08:02 +0000)
commit12f70f1caae450bb0830b1bb97a21dc5db32b1b5
treeb31d4b962800fd9db6d8c787d43d3c841f034809
parent1a00c28e29b2bbc3945ff528164fa1c927f4a1ad
Don't relay on the doorbell register to track our slots.  As of the
documentation:

"UTRLDBR is a volatile register; software should only use its value to
determine commands that have completed, not to determine which commands
have previously been issued."

Instead we use the CCB structure to track our slots, as proposed by dlg@.

CAVEAT: Since using more than one slot is currently causing OCS errors,
we limit the slots to one until we can find a solution.
sys/dev/ic/ufshci.c
sys/dev/ic/ufshcivar.h