Don't schedule interrupt aggregation when commands are still in-progress.
authormglocker <mglocker@openbsd.org>
Thu, 9 May 2024 08:06:42 +0000 (08:06 +0000)
committermglocker <mglocker@openbsd.org>
Thu, 9 May 2024 08:06:42 +0000 (08:06 +0000)
commit240fdb4ce67d406ae10ca8c95b39aab3ef53c04c
treeb42c08f4bece5e99185a44e5414f701408c5eb99
parente58b468b3b79be838e2f53b9009f1c07ee492b80
Don't schedule interrupt aggregation when commands are still in-progress.
As of the documentation:

"NOTE Write operations to IACTH and IATOVAL are only allowed when no
commands are outstanding."

Instead we only schedule interrupt aggregation at the start of the
SCSI command call, when all commands have completed.
sys/dev/ic/ufshci.c
sys/dev/ic/ufshcireg.h
sys/dev/ic/ufshcivar.h