Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp4800820pxy; Tue, 27 Apr 2021 12:59:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwz1+Yc8CGClNgCHFW60VZ42vfRZkjV9KA5dwQsUyEfe04lxp/LrhDPVvi10187nOBdq++w X-Received: by 2002:a17:906:c40f:: with SMTP id u15mr9132057ejz.11.1619553581540; Tue, 27 Apr 2021 12:59:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619553581; cv=none; d=google.com; s=arc-20160816; b=AmYKmC4WzXbzv4ekIs0hrGdyueC1sIddWIsrmIJZN6Rzko5p1SSHMkP5wBlP1pPstM MxJTN352vqNBvzQN2Y+ye72F+mQApAycgrheUj5PfQWQi484Z/pJF9/MoVzOPkAUg9Tk /+y86NhpKLBcKofquDIqYhuXXipwoQu+RpNjF3qM5BH2N3K8BAdjnmc2pVYac/JUSqcw fIhXh6Py5JdK0fdDBizzUTeYR+ydIgHk5wtxvZNVYBiXJIeaoAeT1INJBnwU3Lf+jsk+ lNSOlNv+5jUpjCKTFaXjVTQM9+6tqyQKrr1df8rAPKX19aC8t0FjMCKaN+b65tsOH0al Gh3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-language:content-transfer-encoding :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=afoI4FuwTfrW6Z0hEFugsdIW4PHlren6vrmAD+HRX5I=; b=lk6JjRxu6TpmmhMaFI0Rdsz/BrcAS7D2VrVoj0KlYn/v2srJobf/IZBfmm/9RjAZve zpSkHwLE/Rhwjndr9JUXGyYmDARKPg3+pxPpv+5VLmYQrYizzQEhIQg188zqo+vGGxx2 +SZvBdXCOphrnBLG9k/zu5JUxvdideMOfwuq+sZbRmWFyRTzcze/1PKmtHx0IH4jIanv Sj7ywhA9Ib8fKTySb/B/Qrblc5AJVKoDMqr15cx2J60vewTImUQizJqelPEa/lwR8ZJ6 jX3Pz/dW/lf/mUuOJgSEd3wuYz0lAm30Jk8jfEEqKhFEsNNdVXhECBwbPR+nSsfS1/Wq xJPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=XdmV3R4m; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z2si681207ejw.578.2021.04.27.12.59.17; Tue, 27 Apr 2021 12:59:41 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=XdmV3R4m; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238668AbhD0Tzn (ORCPT + 99 others); Tue, 27 Apr 2021 15:55:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42492 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235719AbhD0Tzm (ORCPT ); Tue, 27 Apr 2021 15:55:42 -0400 Received: from mail-pf1-x434.google.com (mail-pf1-x434.google.com [IPv6:2607:f8b0:4864:20::434]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4E2D7C06175F; Tue, 27 Apr 2021 12:54:59 -0700 (PDT) Received: by mail-pf1-x434.google.com with SMTP id v191so345267pfc.8; Tue, 27 Apr 2021 12:54:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=afoI4FuwTfrW6Z0hEFugsdIW4PHlren6vrmAD+HRX5I=; b=XdmV3R4myyB0wfVtF2TSwjjYj73NP2+ZgRS6oYfw0kHGB9HC7orxGQFm2pp/bae30P +oPTn+Bxjdu/46Q/7nli79ONM9lpasJ1bhguHMhI/aEj+6z46RrWK4hqhaUdeDW+G62B JX1UrFr/GDZEmXYkRKIXiuCKxBVlEPx+b2yDb3YvKinpZ+4V2TxDswiT4tn+6FEWl87Z pSKCczVuvZ5imuUQfQ8ZgkE/RCWpg4oGRjymdGOGv8uFGVJWKbYoVz47B/f9p2PRn20/ e/2Jcd+edwdtSa9ysX4myE572LIx0ophMwx1Hpbsvvc0UGvjKH/fTlkeAMYksICY9/m4 nBhg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=afoI4FuwTfrW6Z0hEFugsdIW4PHlren6vrmAD+HRX5I=; b=QskoJJ2FfW639s3Sk+IaBXulvvgcpHPOf533PKUGLLhlKlSA3aGQSEIkzmPuvZ8Zcq JgAFydGt++xfMfw6o5yaf1zA0KTJDA899S4/SboUktZBrLAhAk77YYpWbauifKLdfTNf SxonTFEDnvfGvGUBq40FVDe/IWcZscf6vVj8TlFQetBStYjB8FsWKTLT62u+mISxuhOo 56qVPGkH81wnrdZCfFm0IPykYNJBCbQmdDtBhmTQXVunK5XorMni+TZxSNEYqspvQ4SH u5k80rDfQGxB10lJQ8tqW6clNBOVuOinxEsZJqgM9HYF+nU/yESEWiLFXhTONXgSsgKd 7IYw== X-Gm-Message-State: AOAM5304Wp7uXXtIEQgFGNSDhgmmtZs/+BV3vcGx5RZuvsFJCtrYXfz/ dCvdofes617C931jaf7EECU0AxT1LHLekw== X-Received: by 2002:a63:150c:: with SMTP id v12mr23654133pgl.344.1619553298674; Tue, 27 Apr 2021 12:54:58 -0700 (PDT) Received: from ?IPv6:2001:df0:0:200c:2d50:30a4:47de:1dd6? ([2001:df0:0:200c:2d50:30a4:47de:1dd6]) by smtp.gmail.com with ESMTPSA id a7sm3116794pjm.0.2021.04.27.12.54.55 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 27 Apr 2021 12:54:58 -0700 (PDT) Subject: Re: [PATCH] m68k/mac: Replace macide driver with generic platform driver To: Finn Thain Cc: John Paul Adrian Glaubitz , Geert Uytterhoeven , Christoph Hellwig , Joshua Thompson , "David S. Miller" , linux-m68k@lists.linux-m68k.org, linux-kernel@vger.kernel.org, linux-ide@vger.kernel.org References: <793432cca963b632709c4d1312baa9874d73e1d8.1619341585.git.fthain@telegraphics.com.au> <10a08764-c138-9fe5-966c-ce68349b9b6@nippy.intranet> <65f01f42-31d9-522a-e690-73d286405a01@gmail.com> <9650358f-a789-7dbd-4495-1d39ff321ded@nippy.intranet> From: Michael Schmitz Message-ID: Date: Wed, 28 Apr 2021 07:54:52 +1200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <9650358f-a789-7dbd-4495-1d39ff321ded@nippy.intranet> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Finn, On 27/04/21 3:47 pm, Finn Thain wrote: > On Tue, 27 Apr 2021, Michael Schmitz wrote: > >> On 26/04/21 7:37 pm, Finn Thain wrote: >>> Was macide the only IDE driver in Debian/m68k kernels without a libata >>> alternative? If so, this patch would allow you to finally drop >>> CONFIG_IDE. >>> >> There's still q40ide.c (ISA IDE interface, byte-swapped, so would need >> treatment similar to Falcon IDE). Hasn't been updated to a platform >> device yet. >> > AIUI, q40 support is not included in Debian/m68k kernel builds. I see. > I wonder whether q40 could re-use the pata_falcon driver . I suppose I'm pretty sure it could, but there is no reason why it would have to be crippled in that way. Interrupts should work perfectly fine with IDE on Q40. There is another reason why using the same module binary for both might fail - the awkward address translation code in io_mm.h. Not certain at all whether we can even have Q40 and Atari in the same kernel binary... > pata_falcon_set_mode() would be undesirable on q40 (?) It could be made Not sure what the defaults are - pata_buddha.c and pata_gayle.c use the same code in their _set_mode(). I suspect we'd need it for Q40, too. Cheers,     Michael