From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932561AbcAZAS4 (ORCPT ); Mon, 25 Jan 2016 19:18:56 -0500 Received: from kvm5.telegraphics.com.au ([98.124.60.144]:33968 "EHLO kvm5.telegraphics.com.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756071AbcAZASx (ORCPT ); Mon, 25 Jan 2016 19:18:53 -0500 Date: Tue, 26 Jan 2016 11:18:18 +1100 (AEDT) From: Finn Thain To: Geert Uytterhoeven cc: "James E.J. Bottomley" , "Martin K. Petersen" , Michael Schmitz , Linux/m68k , scsi , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH v4 34/78] atari_NCR5380: Use arbitration timeout In-Reply-To: Message-ID: References: <20160103050501.042035135@telegraphics.com.au> <20160103050510.031796194@telegraphics.com.au> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. --