Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2950436pxj; Sun, 6 Jun 2021 20:44:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxh44pdXsqkcXr6rzGg7v/JXoZm5a3dZI6Enn2peitFS3ChsMf7xrrL4d3fxBaerdDGgjuk X-Received: by 2002:a17:907:9486:: with SMTP id dm6mr15658663ejc.377.1623037445370; Sun, 06 Jun 2021 20:44:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623037445; cv=none; d=google.com; s=arc-20160816; b=gd2GHdXMwdmo0lV09/EAR7nTwPDyfJmIfQU2W/gA4Bmw6JofSVyTqOuPVs5kvcXcMv LkzZAdRO1Dm28gWkJU/naWiOYZLo9889f6guPmyQF8Jg5wmM1UhidbUyzRh2wzR83bnR AU9cyeW/W4ENhEeOSoYOwrgvtjBfctXVGvy2sFFaPjEYpA8shASm/U0zsVMMjd8hsdw5 n4ZRaldZMIdR0WhIrpEEXqcw5M0QQeVLfxF8vn5nKkVhBFr+P9p3WR3yd+iEdRnshB+a jRpbB6yY0cz9qcMKmcFT/zGWr7EvQmg374dNC8m/mL0CK9HU+1HwdYvjoJ08VYwQ8mL+ lNLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:cc:references:to :subject:dkim-signature; bh=VtFXrsX8w0w0nf24oPfhWOTgY39JrMcR9uKyv6wE2u4=; b=OwEXLOgmAAc8cMCQaouY5pXxtYGkrzvq5y7+6wNvtARKuuJH6PHH6b3VkxUQlk0hjX zUYORLhuMOzC+hsl0YNfuk+/EQwinDDH9hwnTbCd8WYyTJLvrV2+cUrOqQfE61GaDCkv kdOxPjh7ALgrF8vNjkFY6H+rEjTvVOy0kMUh8WC2SBHZqSdP+6QfOtualATG6SS8NiZX c7wI2/4w4W2CLqJ64gA6z1PbI7eeYKbWGqvYlRAq4+4KaQWVpRWu/YO3Tyx7e2GPtAef 8KIH4ulCcrLM7hH4ff1v+49vsNK+4nSy6kEtQBjsiFyiQZESsvW0igNbDZZ9QODNTEao 3ijw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=KGEqwqgW; 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 m29si9516212ejl.33.2021.06.06.20.43.43; Sun, 06 Jun 2021 20:44:05 -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=KGEqwqgW; 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 S230291AbhFGDnj (ORCPT + 99 others); Sun, 6 Jun 2021 23:43:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51138 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230127AbhFGDni (ORCPT ); Sun, 6 Jun 2021 23:43:38 -0400 Received: from mail-pl1-x636.google.com (mail-pl1-x636.google.com [IPv6:2607:f8b0:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A82E2C061789; Sun, 6 Jun 2021 20:41:33 -0700 (PDT) Received: by mail-pl1-x636.google.com with SMTP id h1so228974plt.1; Sun, 06 Jun 2021 20:41:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=VtFXrsX8w0w0nf24oPfhWOTgY39JrMcR9uKyv6wE2u4=; b=KGEqwqgWOH1l9hDKlXq8r54KBUTCvmqWXEyyuJCdLyCSyq0yDDiXwaGqy5XbwARN2G WYmTgQkFYk+VoyRxO8TrSU30Gf2EdKgyU6hwG/UufRBLMAJ5Y/CNIlgXU/45ypYDl4ad I9y7xs/TZhf2c+PuNf+7GvyV+ti/1dmExnN7OT7FDlUGTxVOnHcVuAUzaPE8+wHYCKDy 9l5yF2SAkEJM9vOU/JMV0MJno6lsFTzIGSSwNXys2rqemmYulCOpUCdWBvBI7qdfBOs8 rUOLivULMaKtGz5MtWpCGvihgTuy8v2gsvhYEKGmYLmeKeGeZAHvcRoqYa3k9gqLx+CF W6+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=VtFXrsX8w0w0nf24oPfhWOTgY39JrMcR9uKyv6wE2u4=; b=N0m+QcdLHbPdIpISBe4y8MmIY63K7q/u6oUKPcU8purYfc9bN4b22fEn6RJ9tl0N6L t5aRKn71czepc45Y6Pen9pbeuYUfzrDpIkOhvggzNWMoMaElusJhdqXYBn80FG34spmE HW0EJjtR5fvYZIJeBv8Won4/r8uqvP5A5J6SPdQxht8eK/3T2PWEocOgETDCvWwoQhh8 qtIEf4wOLX3H2ZXikGz8rWvsH00bZYRRNVpqv8htCxx1xO4qSM+ydSaW6kz3ToVnf6f1 GQxnFehE2qqTUKnMoyYa1TDwJbrPAHSrPCmdhMvbeAMTVbZITqup47CZyOd8Y8SPtBjs N+SQ== X-Gm-Message-State: AOAM533XFapfUsjnZzhkXh9jYqAhpsAJxfteyJjpF2GSrTG7QVJJLstn zu8Ij/A+zwR97HgFKYpbV7hH8oIVT7H4NQ== X-Received: by 2002:a17:90b:124a:: with SMTP id gx10mr18655057pjb.214.1623037292916; Sun, 06 Jun 2021 20:41:32 -0700 (PDT) Received: from [10.1.1.25] (222-152-189-137-fibre.sparkbb.co.nz. [222.152.189.137]) by smtp.gmail.com with ESMTPSA id p7sm7019372pfb.45.2021.06.06.20.41.28 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 06 Jun 2021 20:41:32 -0700 (PDT) Subject: Re: [PATCH] m68k/q40: Replace q40ide with pata_falcon and falconide To: Finn Thain References: <352239036981177050c296ca3deb84a102d9faa2.1622970906.git.fthain@linux-m68k.org> <4a32d59-ebb-9dc-fec7-ad172547d9a3@linux-m68k.org> Cc: Geert Uytterhoeven , Richard Zidlicky , Jens Axboe , "David S. Miller" , linux-m68k@lists.linux-m68k.org, linux-kernel@vger.kernel.org, linux-ide@vger.kernel.org From: Michael Schmitz Message-ID: Date: Mon, 7 Jun 2021 15:41:25 +1200 User-Agent: Mozilla/5.0 (X11; Linux ppc; rv:45.0) Gecko/20100101 Icedove/45.4.0 MIME-Version: 1.0 In-Reply-To: <4a32d59-ebb-9dc-fec7-ad172547d9a3@linux-m68k.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Finn Am 07.06.2021 um 14:07 schrieb Finn Thain: >> are there any substantial changes from what I'd tested before? > > The request_region() stuff is new, and I reworked the host->get_lock and > host->release_lock changes. So you may want to review it again. I'll do that (and test the old falconide driver with your patch - never got around to that, and I now remember there was something fishy in that driver in relation to registering the IDE interrupt that I need to re-check). > >> Your patch conflicts with (I think) the Mac IDE patches now in Geert's >> tree, and I'd rather avoid hand-patching the lot if at all possible: >> >> m68k_q40_Replace_q40ide_with_pata_falcon_and_falconide >> Applying: m68k/q40: Replace q40ide with pata_falcon and falconide >> error: patch failed: arch/m68k/configs/multi_defconfig:351 >> error: arch/m68k/configs/multi_defconfig: patch does not apply >> error: patch failed: drivers/ide/Kconfig:731 >> error: drivers/ide/Kconfig: patch does not apply >> error: patch failed: drivers/ide/Makefile:29 >> error: drivers/ide/Makefile: patch does not apply >> > > I should have sent these as a two-part series. Sorry about that. > You'll need to apply this patch first: > https://lore.kernel.org/linux-ide/3de9a93d-2f7-a650-1fa-c2129a4a765b@nippy.intranet/T/ Looks like that's commit e4ab3dc4eb88f53730061a3976c1e63523c5567d which fixed the conflict for me, thanks. > >> What's your baseline for this patch? >> > > I've used v5.12 and v5.13-rc5, but mostly I develop on the mac68k branch > in my github repository. > >> (In the alternative: just add my Tested-by if nothing changed aside from the >> IO region reservation) >> > > I have tested these patches in Aranym (including a multi-platform > atari/q40 build which required your ISA fix) but I don't have any way to > test the q40-only code. > Neither have I, but I'd like to verify that the falconide driver still works with SCSI after this patch (can't see from the diff what the ramifications are for locking and request_irq() ... as I said, I remember something odd about the IDE interrupt that I need to verify). Cheers, Michael