qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v3] hw/scsi/lsi53c895a: add timer to scripts processing


From: Michael Tokarev
Subject: Re: [PATCH v3] hw/scsi/lsi53c895a: add timer to scripts processing
Date: Sun, 10 Mar 2024 18:35:59 +0300
User-agent: Mozilla Thunderbird

04.03.2024 19:37, Sven Schnelle :
HP-UX 10.20 seems to make the lsi53c895a spinning on a memory location
under certain circumstances. As the SCSI controller and CPU are not
running at the same time this loop will never finish. After some
time, the check loop interrupts with a unexpected device disconnect.
This works, but is slow because the kernel resets the scsi controller.
Instead of signaling UDC, start a timer and exit the loop. Until the
timer fires, the CPU can process instructions which might change the
memory location.

The limit of instructions is also reduced because scripts running on
the SCSI processor are usually very short. This keeps the time until
the loop is exited short.

This one is a bit large(ish), yet, - is it okay for -stable?  From the
description it feels like it should be picked up, and it applies cleanly
to 7.2.x too (after picking up the forgotten 8b09b7fe47082c692
"hw/scsi/lsi53c895a: add missing decrement of reentrancy counter" there).

Thanks,

/mjt




reply via email to

[Prev in Thread] Current Thread [Next in Thread]