Re: [PATCH v4 34/78] atari_NCR5380: Use arbitration timeout

Finn Thain
2016-01-26T00:18:18Z

On Mon, 25 Jan 2016, Geert Uytterhoeven wrote:

> > In principle I think that Linux drivers should not carry workarounds
> > for emulators.
>
> Please consider ARAnyM is the current m68k workhorse, so it would be
> nice to handle this someway.

AFAICT atari_scsi on aranym never did anything useful. Those aranym users
who need to run Linux 4.5 can set CONFIG_ATARI_SCSI=n or blacklist the
atari_scsi module (up until aranym can be patched).

>
> Alternatively, we need to fix ARAnyM,

I'll look into writing a patch for the emulator after I've finished
testing the exception handling fixes for the driver.

> or can make the creation of the atari_scsi platform device conditional
> on not running under ARAnyM.

Fixing the emulator is the only sensible approach. If S operating systems
have to carry workarounds for B emulator bugs, the cost is (at least)
proportional to S * B.

--