Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp888009pxy; Thu, 22 Apr 2021 16:20:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyoIjZMUqUP6kSeH+6kBb1lGcH/fiVlAbFOrvq23Lk3vFVb6bdg5vtgY4eVIP9yGqagOT9v X-Received: by 2002:a05:6402:5248:: with SMTP id t8mr1067572edd.42.1619133651866; Thu, 22 Apr 2021 16:20:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619133651; cv=none; d=google.com; s=arc-20160816; b=z8VvoDGAbI9SP6wqbJS4RiPIp/mvnKP6BxGEbrblZy7/NhqnGTRPWtgOjY0tC7Z49H qOPqLjN2kfeo3eynR7of/7N8QCcsdxonafzQZ5KyN3wd5AcfwxiVUupJdL0d+SdY2uzq kRWQBzNyYGVbMvhLFZBRIjgl9Vw8qmZfj7YWBra9X9d2IkOdCswJMbT29iurgh8O/kvB bxAud8rlEeZBKXduKwM+c4bhQVi2XGMHo+N6gtxwjB903Ly8AYjxJ8RQNiVBQHjBta0V 8KKLXY0wGEFJRbp9MIrudTT4t8WVBirFcydh11oI14IV2xRhrTcMsPlH4IPvWUMuHoGt auCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:message-id :in-reply-to:subject:cc:to:from:date; bh=7HFwszILcX8L+GcZt7HGcKfmKNeR/42Sih9lZKiKi8Q=; b=vJDYnLQZaP3OUX73bqKnfoEfPRYdWLDLTtvP9EgLQUSHJJzpa1+lH2C1R54H2lsPfA qyiD2/2Jdbig3zF4enhBJpwMqa4yX5UdMN6UD+t6z1jtlIy36Ut2W4F17tjn4EqUU+Pk ciWI3PSRmL++X4zZJDnc4xMo4otOEdy6xocbBfsWZ1ALD6t7FoGKOY30ccOZAzWfafqC ssEStxkKrMD2+cA0JkyaegK3IZM3wYIL8ClyB6lQghfGFPoyWO7JqPyfD4XLAEimKBcg FuvjfjJ1K1klY4PojvPFjiUTEBPkfTmN5wsyWhmx1586mcs3bCvUCh74cxxMj7WSKEse lh6Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x9si3834496eje.242.2021.04.22.16.20.28; Thu, 22 Apr 2021 16:20:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236949AbhDVXUI (ORCPT + 99 others); Thu, 22 Apr 2021 19:20:08 -0400 Received: from angie.orcam.me.uk ([157.25.102.26]:39572 "EHLO angie.orcam.me.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236763AbhDVXUH (ORCPT ); Thu, 22 Apr 2021 19:20:07 -0400 Received: by angie.orcam.me.uk (Postfix, from userid 500) id 53A9E92009C; Fri, 23 Apr 2021 01:19:30 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by angie.orcam.me.uk (Postfix) with ESMTP id 4D33D92009B; Fri, 23 Apr 2021 01:19:30 +0200 (CEST) Date: Fri, 23 Apr 2021 01:19:30 +0200 (CEST) From: "Maciej W. Rozycki" To: Khalid Aziz cc: Ondrej Zary , "James E.J. Bottomley" , "Martin K. Petersen" , Christoph Hellwig , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/5] Bring the BusLogic host bus adapter driver up to Y2021 In-Reply-To: <0a4d979b-e3f8-959d-fb9a-3a0fcea42141@gonehiking.org> Message-ID: References: <202104182221.21533.linux@zary.sk> <0a4d979b-e3f8-959d-fb9a-3a0fcea42141@gonehiking.org> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 22 Apr 2021, Khalid Aziz wrote: > >>> Verifying actual ISA operations (third-party DMA, etc.) cannot be made > >>> this way, but as I understand the issue there is merely with passing data > >>> structures around and that may not require too much attention beyond > >>> getting things syntactically correct, which I gather someone forgot to do > >>> with a change made a while ago. So that should be doable as well. > >> > >> In theory this sounds reasonable, but without being able to test with a > >> real hardware I would be concerned about making this change. > > > > Sometimes you have little choice really and that would be less disruptive > > than dropping support altogether. Even if there's a small issue somewhere > > it's easier to fix by a competent developer who actually gets the hands on > > a piece of hardware than bringing back old code that has been removed and > > consequently not updated according to internal API evolution, etc. > > We are talking about removing support for BT-445S with firmware version > older than 3.37. Umm, no. As still quoted above I referred to ISA devices, such as the BT-545C. ISA only has 24 address lines so no firmware change can make these devices address memory beyond 16MiB (whether as a bus master or with the aid of an 8237 DMA controller). > That is a very specific case. To continue support for > this very specific case, we have to add new code to use local bounce > buffer and we have no hardware to verify this new code. This will be new > code whether we add it now or later after we find someone even has this > very old card with old firmware. I would prefer to remove support for > now and add new code to add support for firmware version older than 3.37 > back only if there is a need later. For now anyone who is using a > BT-445S and has updated firmware on their card will not see a change. As long as ISA support has been retained the BT-445S can just reuse the logic. I'm not strongly attached to ISA support though, and we continue supporting other SCSI HBAs for ISA. But we do that even though they require a dedicated driver while with the unified MultiMaster architecture it would seem support for another host bus should be low-hanging fruit. Maciej