Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp300382pxx; Thu, 29 Oct 2020 03:01:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxGee+KIlKguKTEkmIAqpWr7q6RjgQ2/FpuUUfRhP5i/Ha4fkUnakj5aDfOQ2C+Ma9ROvFh X-Received: by 2002:a05:6402:1bc9:: with SMTP id ch9mr3161176edb.386.1603965718152; Thu, 29 Oct 2020 03:01:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603965718; cv=none; d=google.com; s=arc-20160816; b=EOUn7xwE7idoKHAwVqtRn9kyM369TGHwn6qT1cZXczeCpMjgfBqX3EmARXNd8mhJ0h l47THwCU766OyDCn3+A4VfbBpgbpU4G36cB/ONpfxAEqvbwitLuALuwsQf2aWRqygY1C IVONd/zpjX4UPZaqVBFAYjMApMnh6l5sdxl2m0z8pJrBCJsRPJOSwMMWtTHCTnGCvjb3 8YB0DQvbbNZ4Tu5gnOv40Xh3mqv76k3S+31NGF/cGALReBCQXVbuVzgzIs1QutCKhCzx f1PwsxA+9mh2+rvQubiLQEmGqNMqAaiH4B0XgGRua5lakO1wpsRrm9WQNOFbGoCEPpiq PpnA== 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=+XN02PSejXD+FeqWTrgwKvG1TTSDYTM2yrZb6ygptq8=; b=LlryF2q8Yf1FJnMZwkLGweVBdZVtaQFbyKgUlIt+UaBSJDXEVEMA3N0LuC03jn2FxV K+1J7QMXW1KZn+0Xzx8xP/HxRm7kBRZLzihdlQRvn47NPkB0K8KIRT4izyWKTWjDybPv iFhKmvKzPyNAEnHE6uc/gL2eV38U5SWbh5Q4XdICWYH/NEdNUkaGo9mX5MpJ8nAkRZps SM6KuNTQGIkEX2huIE2kLd0d3sSOai9u2vJPpvLEeSdj5CcRtNthwfUX+/iSO00odyXq 5HN4n5YjStGgWPQSO2HV1ZIisAAC9y+3VIR5V8Km+grRKl7jLUv8kMgh+zRG3SAiJR5T DeCQ== 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 k20si1659555eds.233.2020.10.29.03.01.36; Thu, 29 Oct 2020 03:01:58 -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 S2390881AbgJ2ATB (ORCPT + 99 others); Wed, 28 Oct 2020 20:19:01 -0400 Received: from mail-ot1-f66.google.com ([209.85.210.66]:44093 "EHLO mail-ot1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389212AbgJ1WpC (ORCPT ); Wed, 28 Oct 2020 18:45:02 -0400 Received: by mail-ot1-f66.google.com with SMTP id m26so630838otk.11; Wed, 28 Oct 2020 15:45:01 -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=+XN02PSejXD+FeqWTrgwKvG1TTSDYTM2yrZb6ygptq8=; b=CVTjna5g2XVGfGso31JoRpR07nQGR1+pt3N1oUBEC3lOAK+ejuNtguI896SRlUKoEe OlTsqTpasI16TzoW4+oF7UhbhIlkiOFHiVz2HUPn7J1xOONJnRpB8fnC4j7zYrfXTvT7 kamRM6QaiwLy5mNoE5XDdayATyai8Of5DS47OF9jhUkOtRqX4yTJI2XNH+rbJ1KE89/A sqlgmdSdRyJ4gMKXJnsLDwBOUOlvhaO0GpgHtH2dvWkwp9pWszdr4H+S1aVLHmxcthF+ kQF3KJrVqm7w9vSYCVtT77kMiKHWr8JgYbcw1m806wTYPzDkkAx1VKhkPGCBJ3Mp9GLE +fTg== X-Gm-Message-State: AOAM533RWsrc+p1DMUBcfN0cdBltY7Dc8+xwUahhPoFjpalh1aqdVeA3 HzDJ+0QrthseXpLO4O/gZxIxMj49XxaMysz7OImzPIFzXYsMhQ== X-Received: by 2002:a4a:5d84:: with SMTP id w126mr4993384ooa.1.1603877160928; Wed, 28 Oct 2020 02:26:00 -0700 (PDT) MIME-Version: 1.0 References: <20201027112955.14157-1-rppt@kernel.org> <20201027112955.14157-12-rppt@kernel.org> In-Reply-To: <20201027112955.14157-12-rppt@kernel.org> From: Geert Uytterhoeven Date: Wed, 28 Oct 2020 10:25:49 +0100 Message-ID: Subject: Re: [PATCH 11/13] m68k/mm: make node data and node setup depend on CONFIG_DISCONTIGMEM To: Mike Rapoport Cc: Andrew Morton , Alexey Dobriyan , Catalin Marinas , Greg Ungerer , John Paul Adrian Glaubitz , Jonathan Corbet , Matt Turner , Meelis Roos , Michael Schmitz , Mike Rapoport , Russell King , Tony Luck , Vineet Gupta , Will Deacon , alpha , Linux ARM , "open list:DOCUMENTATION" , Linux FS Devel , "linux-ia64@vger.kernel.org" , Linux Kernel Mailing List , linux-m68k , Linux MM , arcml Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Mike, On Tue, Oct 27, 2020 at 12:31 PM Mike Rapoport wrote: > From: Mike Rapoport > > The pg_data_t node structures and their initialization currently depends on > !CONFIG_SINGLE_MEMORY_CHUNK. Since they are required only for DISCONTIGMEM > make this dependency explicit and replace usage of > CONFIG_SINGLE_MEMORY_CHUNK with CONFIG_DISCONTIGMEM where appropriate. > > The CONFIG_SINGLE_MEMORY_CHUNK was implicitly disabled on the ColdFire MMU > variant, although it always presumed a single memory bank. As there is no > actual need for DISCONTIGMEM in this case, make sure that ColdFire MMU > systems set CONFIG_SINGLE_MEMORY_CHUNK to 'y'. > > Signed-off-by: Mike Rapoport Thanks for your patch! > --- > arch/m68k/Kconfig.cpu | 6 +++--- > arch/m68k/include/asm/page_mm.h | 2 +- > arch/m68k/mm/init.c | 4 ++-- > 3 files changed, 6 insertions(+), 6 deletions(-) Is there any specific reason you didn't convert the checks for CONFIG_SINGLE_MEMORY_CHUNK in arch/m68k/kernel/setup_mm.c and arch/m68k/include/asm/virtconvert.h? 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