On 12/8/23 13:20, Mark Cave-Ayland wrote:
[ ... ]
The "technical manual" for AM53C974 from AMD states that an interrupt is supposed
to be generated when the DMA DONE bit is set. The esp-pci code does not do that.
Yeah that seems odd. I'm currently having a look at http://www.bitsavers.org/components/amd/_dataSheets/1993_53c974_PCscsi.pdf to understand a bit more as to how the PCI DMA block works.
Yes, that is the document I was referring to.
I tried your patch series. Without the esp-pci patch it keeps failing
with spurious interrupts and with subsequent command aborts. With the
esp-pci patch applied it works just fine. This only applies to ext2
images. ext4, btrfs, and f2fs fail badly with C3700 and a 64-bit kernel,
but that does not seem to be related to the esp driver.
Next step will be to test 32-bit kernels with both C3700 and B160L.
Guenter