Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp3625900ybb; Tue, 31 Mar 2020 08:52:17 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtfNuGkiFTh//cl4HWkV5WhKH6YPbBVxH89y8XBQz5znod2zsMdO2dw1WyKp7+J0NcLa4yE X-Received: by 2002:aca:bc86:: with SMTP id m128mr2609869oif.11.1585669936987; Tue, 31 Mar 2020 08:52:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585669936; cv=none; d=google.com; s=arc-20160816; b=BmXs3u3hDK8O6Q+HsgjrO2qQUoGaynUff3d+y/2nTS4fWY91QSpn0lOhbDusMsdt/B P46ht9P3LoeEpV7vwveHNr0dliGJTh/DWOjWuqRY1GRki5f0JyrarbV//jchZEUFfB5C 2omitVQEJwuVD9Sdz3E5Ed1LreZEruzMAAonMQlb2Kph8dqRS/iPjAoL5E9m6Wbkfcl3 8rBV1bpk7YLAMUib9yU9dnM0bDzW9Y6GlPwsCnqaeIUNbOuTATn3OTwVGNRXcjx3k9Wq /xFLlNzwCYfCAFeGBP1bmVdQss4Wlnzvubk1/B0AOZkwbXUQp3MIkwxEFjltEFlgOZYY y34g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=qZaw78/ix293NjFm+NPjbEpjJ31t3PlaOuMjRhiYQDE=; b=RiHUMVge2zIJ1hhhpIEpSHWgKBvcG1GY85Yb6iIhlDy4IrNZgLGw8ZtX+AD1iiC822 OWg8GhCq7cSJEZ3dLalZ4oUDy26xLQRecncCDvob4W3Zhcn8XNF6RV4VRr40iUHr+Bmq xzMHahUMCZT8nZ1jZ4PolpwoYjpytwInTXCnKjwYy/5cnTqKM5CBfwmUFM1G61mUIQVj VIu1ALgkC04glSTJydhv855Ke+x38LQikPcF/m/4jABVYa7HcwCIsmCDsPPV+h8vr5t5 b23RbVWOv4ml6Mu6VoWL/4Y4VtJnPSHoP6xxAWQcmPQhyhJRa+tmCemFnvS0d0irlt6N OdoA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c20si7964734otn.247.2020.03.31.08.52.00; Tue, 31 Mar 2020 08:52:16 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730607AbgCaPuJ (ORCPT + 99 others); Tue, 31 Mar 2020 11:50:09 -0400 Received: from wtarreau.pck.nerim.net ([62.212.114.60]:34253 "EHLO 1wt.eu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727703AbgCaPuI (ORCPT ); Tue, 31 Mar 2020 11:50:08 -0400 Received: (from willy@localhost) by pcw.home.local (8.15.2/8.15.2/Submit) id 02VFn8Y2024870; Tue, 31 Mar 2020 17:49:08 +0200 Date: Tue, 31 Mar 2020 17:49:08 +0200 From: Willy Tarreau To: Christoph Hellwig Cc: Denis Efremov , Jens Axboe , linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, "David S. Miller" , Benjamin Herrenschmidt , Geert Uytterhoeven , Helge Deller , Ian Molton , Ivan Kokshaysky , Matt Turner , Richard Henderson , Russell King , Thomas Bogendoerfer , x86@kernel.org Subject: Re: [PATCH 00/23] Floppy driver cleanups Message-ID: <20200331154908.GB24854@1wt.eu> References: <20200331094054.24441-1-w@1wt.eu> <20200331101019.GA6299@infradead.org> <20200331110136.GB24562@1wt.eu> <20200331152812.GA16100@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200331152812.GA16100@infradead.org> User-Agent: Mutt/1.6.1 (2016-04-27) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 31, 2020 at 08:28:12AM -0700, Christoph Hellwig wrote: > On Tue, Mar 31, 2020 at 01:01:36PM +0200, Willy Tarreau wrote: > > I'm not sure what this implies regarding this code, to be honest. It's > > very tricky and implements sort of a state machine using function pointers > > within its interrupt handler so you never know exactly what accesses what, > > and quite a part of it remains obscure to me :-/ I can accept to help, I > > can even run tests since I still have running hardware, but I'd at least > > need some guidance. And probably Denis would know better than me there. > > Also I doubt we'd get sufficient testing on less common archs. While I > > do have sparc64/parisc/alpha available, I haven't booted a recent kernel > > on any of them for a while (2.4 used to be the last ones), and I'm not > > sure it's reasonable to go into such changes without proper testing. > > The basic change is that instead of using bio_data() or page_address > all pages coming from the block layer need to be properly kmap()ed. > I'll try to cook something up an will send it to Denis and you for > review and testing. The code things about sparc64/parisc/alpha is > that they all don't have highmem, so these changes should be effective > no-ops for them. OK, thanks for the explanation! Willy