Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp2938869pxx; Sun, 1 Nov 2020 16:15:35 -0800 (PST) X-Google-Smtp-Source: ABdhPJw4m2fyetkOyxShu6Js0ta26UwT/uyeQu5teMvTpov7zKMCH5vVwE8b85E9A6d01JX7Uqwd X-Received: by 2002:a17:907:9e3:: with SMTP id ce3mr13150601ejc.4.1604276135155; Sun, 01 Nov 2020 16:15:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604276135; cv=none; d=google.com; s=arc-20160816; b=bYaAOqA+BQlYoWWPVwp0Qzjpe9qgdD8cxw9ktPSgyhoKs1w/2Id8kNC7ZMy7iHHntn BVpzb6AvjwNIF4V/jgf5zSKFgOqRUuEt9OS4l2swVMKpJaJhMu+O4Jl/AL4i88eG22Bt tyGAPOiFtxaQy3tzAkqxAVoFxmVjn6pgeng6JT6Pr1727/8ayRTDqAYy5b9xC1ITR22L X4I6+e6pu+SSkNKPDtt5P/b/6u/17+CpK4csf3pDETf5cXSIcRFZFwoe8sNyAfIgC0gY tq0rN4uRzPZw2/Jec+NJAS2lk7yiJWcdJASADGy7OoKhO+PnpnqKD3xG8os7Ak+1rt5h igqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=xHuaVTpdtnolBbzcjaIF/R+pW2EmIw8NPZXQXnw4SDg=; b=E2GR4d5/H3bTsHiMDbW7Nc2QHicQbOsjHGWb14w8uqCqr+gnsZvKVRBuxtfj5i5bvd quoQ8aHKjzTSKPj/L8L2WZIH8HiUWCTdVwIeEbP1xslUdPvvJTtfQmzN7qETTKF3G+3Q buNcg+51rUfXMPI93qMeigEg+/NfI+t+jRtAExmGeFtmp7cZ3vwySd0wqlEWCXtCMysR kNKLR301s2PXC9bRddQddNsbnH7kA/Sx9oMazb+jswzQFA+7mOgl9Zkkc6BIMNonn8Na 69L4bekbikGGMnLA3nQxvXa1bTquPq7J0OCaAXJQwPNesjy3JktJXGRwe0d94edeQ4FI KHnQ== 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 ch9si9429554edb.172.2020.11.01.16.15.11; Sun, 01 Nov 2020 16:15:35 -0800 (PST) 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 S1727367AbgKBANs (ORCPT + 99 others); Sun, 1 Nov 2020 19:13:48 -0500 Received: from mail.kernel.org ([198.145.29.99]:36782 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727062AbgKBANs (ORCPT ); Sun, 1 Nov 2020 19:13:48 -0500 Received: from [10.44.0.192] (unknown [103.48.210.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 3416B21D91; Mon, 2 Nov 2020 00:13:45 +0000 (UTC) Subject: Re: [PATCH 2/2] m68k: m68328: remove duplicate code To: Arnd Bergmann , Arnd Bergmann Cc: Geert Uytterhoeven , linux-m68k , "linux-kernel@vger.kernel.org" References: <20201015123258.2644027-1-arnd@arndb.de> <20201015123258.2644027-2-arnd@arndb.de> From: Greg Ungerer Message-ID: Date: Mon, 2 Nov 2020 10:13:42 +1000 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: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Arnd, On 31/10/20 12:25 am, Arnd Bergmann wrote: > On Mon, Oct 19, 2020 at 2:06 PM Arnd Bergmann wrote: >> >> On Mon, Oct 19, 2020 at 1:45 AM Greg Ungerer wrote: >>> On 15/10/20 10:32 pm, Arnd Bergmann wrote: >> >>>> diff --git a/arch/m68k/Kconfig.machine b/arch/m68k/Kconfig.machine >>>> index 17e8c3a292d7..1851c66e8667 100644 >>>> --- a/arch/m68k/Kconfig.machine >>>> +++ b/arch/m68k/Kconfig.machine >>>> @@ -136,14 +136,13 @@ config SUN3 >>>> >>>> If you don't want to compile a kernel exclusively for a Sun 3, say N. >>>> >>>> -endif # M68KCLASSIC >>>> - >>>> config PILOT >>>> bool >>>> >>>> config PILOT3 >>>> bool "Pilot 1000/5000, PalmPilot Personal/Pro, or PalmIII support" >>>> - depends on M68328 >>>> + depends on !MMU >>>> + select M68328 >>> >>> Given that M68328 depends on !MMU do you also need or want that here? >> >> Yes, that is exactly the reason: if M68328 depends on !MMU and gets >> selected by something that lacks the !MMU dependency, we'd get a >> Kconfig warning and a failed build when enabling PILOT3 with MMU >> enabled. > > It looks like my reply never made it out because of mail server issues. > I hope the above answers your question. > > I'm rebasing this series (along with some others) now, and will resend in a bit. Ok, no worries. Otherwise looked good. I will review v2 and most likely push into the m68knommu git tree. Regards Greg