Add flag to switch between normal interrupts (one interrupt per completed
authormglocker <mglocker@openbsd.org>
Mon, 20 May 2024 12:42:45 +0000 (12:42 +0000)
committermglocker <mglocker@openbsd.org>
Mon, 20 May 2024 12:42:45 +0000 (12:42 +0000)
commitceedf4cc67da25e2fb73be9b42a1176541cefb7a
treed07539e244afb4feadfdc1132c13fa55f49813cb
parent8bc9cbe59b604f4c1c7a64d186be5d638ad5b958
Add flag to switch between normal interrupts (one interrupt per completed
command) and interrupt aggregation (one interrupt per <count> completed
commands).  For now, enable normal interrupts by default, since it has
turned out that this works better for us currently (see comment in the diff
for more details).

Discussed with dlg@
sys/dev/ic/ufshci.c
sys/dev/ic/ufshcivar.h