Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp3623081ybb; Tue, 31 Mar 2020 08:48:46 -0700 (PDT) X-Google-Smtp-Source: ADFU+vv8ChWZftjDb5AdemJM+HkqMxmkRG/tnUZ+c9+b4/yz71RIAEHl4viWYw00+NOL2wt1rWeQ X-Received: by 2002:a05:6820:319:: with SMTP id l25mr13686103ooe.88.1585669726363; Tue, 31 Mar 2020 08:48:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585669726; cv=none; d=google.com; s=arc-20160816; b=S9zuixp7i9QhxW9NRQfNjYc+f/8SwX6XrQHvv5xAXtzr4QmlLq95i4+wtySWlkJglA r2WKtCOhbE7dw88zxnnaUujbqHrMUlCG6yvPSEhucpoISr7m1h3WjP3p/UK/IEECf/Nh 0ZN93w2N/FFofj2Z3aJeJ45s06jsf+fDA3+Th8YjQSWQnGguLQK5zY9MbS7URV6+vKIN hrC3tGWe9/wYW+M7wNV5uj1RcqFOpzakGH7T6h5mp5psAkn1UQfQxhv+gPBf4rv48yDL bak0aB8VNxebz321ddAFoo35DKZwRaa2lImD5j9AAeUBZfnMhUYkJHH/jIvssOOoXVf4 sh8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=QuUejbsfcejHB1RDQsQ9fzakZjmz1KKNU/bqFeeAGiQ=; b=HDgKwkdSL2k18/qyKY7DZadpkyfgrwrCwHlnvz9w41Ud2Oi+od6/Be1Ht3MyzYjtMW 519icpHW6OhnMthYSKQoF7Bpzfsg/8oJXBCmq5ZC3aqfXmhEjh6U4byqXELjwnoVkton SAQ/LL8xjZlmEC9As5UgrAUe152y23sgLGNAp2R4ai70XW8nqza96MjHeHuztC4TbdBG mkXSKubJiKYzJhuK0iyQrj08481Mb2/ds1I0Sva72JjUosi5wD+18tQqu5kmLaEp90U4 Ik+DfV1tMG0Jlr9S1Mvv4Fwpz2IqQuIjRlequqAjx836lHm7Q9rHkX88wT2UOCA9Z90a eH/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=AlcQymeC; 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 e4si7613700oib.135.2020.03.31.08.48.33; Tue, 31 Mar 2020 08:48:46 -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; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=AlcQymeC; 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 S1730849AbgCaPr3 (ORCPT + 99 others); Tue, 31 Mar 2020 11:47:29 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:44858 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727703AbgCaPr3 (ORCPT ); Tue, 31 Mar 2020 11:47:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=QuUejbsfcejHB1RDQsQ9fzakZjmz1KKNU/bqFeeAGiQ=; b=AlcQymeCjtoov6XtxOxx/t+rZ9 YnrGLhpzMg8TbbDRsngQAF1xZwvByUCY9IoG3YdWk+kcBc8u3A09s2qJxercHLVNdSsHQtW8v0o7z Mf+wL0T6+yVOwlAxGhHMAkosrWtnQH/gET4hQbLOdjA9ZiPhlytaiw0KzFtpndWb5cNABRYa4sdBG Hc03ooCDVyoZ16cSnmsZ+R5RMUZXRhqoEcKrIRc+Yn0cnBwhiccJTRnBWJW8omyHg1UCByYh3vD1O MHMEIK3hK76BwbZkWjHflcHZO3KnDCKx2J8N9nJ5hHOlCWaGfJIgt/pDo/pY76LbsYQ7NJSiWlLol UaLDvYkA==; Received: from hch by bombadil.infradead.org with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1jJIoG-0004Hh-UP; Tue, 31 Mar 2020 15:28:12 +0000 Date: Tue, 31 Mar 2020 08:28:12 -0700 From: Christoph Hellwig To: Willy Tarreau Cc: Christoph Hellwig , 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: <20200331152812.GA16100@infradead.org> References: <20200331094054.24441-1-w@1wt.eu> <20200331101019.GA6299@infradead.org> <20200331110136.GB24562@1wt.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200331110136.GB24562@1wt.eu> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html 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 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.