Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp100711pxy; Tue, 27 Apr 2021 23:55:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxLtYJ9cWTB0OBIBSYDooA0mAnQvBCe4KG0DwZglCIwEPiS3iOobtx/jfTK5JOu1ClPekUz X-Received: by 2002:a50:c44f:: with SMTP id w15mr9078502edf.79.1619592901902; Tue, 27 Apr 2021 23:55:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619592901; cv=none; d=google.com; s=arc-20160816; b=DGjM3YcUvgpdKgrBPHoXmhmmMpxiozr67iiAIPIXOMVQ/Sfja9UnMuYuz4i4waSP/M vWpxeH3MlzBTVbfYJnkOSeGCrAX9HqdJ7MjCwRZOKaFTbCMSlK04dZKMTj/Vxt+lctqZ 7UwN2DSswKrISLhhdG82rJkGMeAkrcRLP7LxoTQHtMIWh/YJ7drznbOUiVBXw5k0sKJB FqUIH0EAP7hXzoXFIuBdzklQ6Ru52BLuyG3xel7yBq8UmqpTtDvT4gchn+Hbi/x4HuVe EHq3+3qRdb4QaWFx8xtmCxPirTB81XZScW/pLsVD4K4QTaF1Kj3DMfHOn3U5v3iw1zi/ AKrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=Qcj7/vi64EhvIZ063r8YI4RxRFbLfs3PNow3a+YW0lg=; b=F1aRcB+7NqcD/tPTUllLJJu0IjSPqZS5PerYedAytG+Ed7hrW6x6SgyO9WrDQaFHZj AsrPgK5OhwVYUiznQ6cx/uYct1UV4rFsOYsM/HOg1Biwj4I5f/fZxtFWvOT1zSxdDYAx aVlGdvtv0LmNaXrREKfvyCXSh3Yuf/xr+3+E/bYzspjcGyfeuTSmIhfkVOcAdRPVnZCp istdO00w3xmhOAMNYRw9syexg5RUMO8MIJdamSuQVpvHzm5cOjzmZ6mHfz11k6h21BSw tmTexPRW2M/EL5K01uX6a+TkdqnzNwjeS8NTY43wAj4V/nCTG+pi72um/N6qkWbqbHlF klfA== 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 ay9si28462edb.462.2021.04.27.23.54.38; Tue, 27 Apr 2021 23:55:01 -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 S236467AbhD1Gyb (ORCPT + 99 others); Wed, 28 Apr 2021 02:54:31 -0400 Received: from mail-vs1-f51.google.com ([209.85.217.51]:34728 "EHLO mail-vs1-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234373AbhD1Gy3 (ORCPT ); Wed, 28 Apr 2021 02:54:29 -0400 Received: by mail-vs1-f51.google.com with SMTP id d25so24681894vsp.1; Tue, 27 Apr 2021 23:53:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Qcj7/vi64EhvIZ063r8YI4RxRFbLfs3PNow3a+YW0lg=; b=cAf6/mnqHqiNQeHBaIyvNmZqvu+ZKQN1PDms4OPyi/+AcJGZicWBqJGrEiwdxKLfaa IcaENgQcasrWvyaoy75av4ukXV7DEAaofWRXaOEAqZP7x7kfM+KGkJP2Iwj0sQ1bVft9 AyD9ZMSQWzKQXXbB7sNPwGy5BCbeD46h5oE7+wsm6SJ6bE3gj9KXO0bDz3A/Bh2U/q2v tNCo4WhxXY5GaxfRL4X/RPn0G21f3BFOBZA4KxPs+NZeSC/BqyKFVO+FP3Ihq5D4p9ZB SwGYXsSpeXQ99bbRWPlFE0EWx7onae6BdqOqdoR7hhASNlTPWjW3S3PmJQWE/XwtIwJ+ CcoQ== X-Gm-Message-State: AOAM531Dv13R6bucoaudH68z3V1YZHf9Uc4nHO14O0rCBY96YxlJuEjH HZZ3eo32D38/xnQTLHvgaf26ckAKz5+RRIo0PMY= X-Received: by 2002:a67:8745:: with SMTP id j66mr23450138vsd.18.1619592824818; Tue, 27 Apr 2021 23:53:44 -0700 (PDT) MIME-Version: 1.0 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> In-Reply-To: From: Geert Uytterhoeven Date: Wed, 28 Apr 2021 08:53:33 +0200 Message-ID: Subject: Re: [PATCH] m68k/mac: Replace macide driver with generic platform driver To: Michael Schmitz Cc: Finn Thain , John Paul Adrian Glaubitz , Christoph Hellwig , Joshua Thompson , "David S. Miller" , linux-m68k , Linux Kernel Mailing List , linux-ide@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Michael, On Tue, Apr 27, 2021 at 9:55 PM Michael Schmitz wrote: > 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... That's supposed to work, else our multi_defconfig is broken. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds