Received: by 2002:ac0:a591:0:0:0:0:0 with SMTP id m17-v6csp561040imm; Thu, 5 Jul 2018 05:15:07 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfFiSy9hnWsW7WWBaOocIJHJGMrd0Lr/BNP6FI1zN1laq6OrFPHQaFMDYKT54Qk7CpVNw71 X-Received: by 2002:a63:c742:: with SMTP id v2-v6mr2203948pgg.331.1530792907137; Thu, 05 Jul 2018 05:15:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530792907; cv=none; d=google.com; s=arc-20160816; b=ozAb2GaL+mCnZaCSOrRZQM2+FCsy+h+p1vmv4D+AUVLCCsugZ81s3Y2tDwmlImbd6H 4mzN1SXVO70ltXxNsyPD2enhNTk4VgEj6VuAuJ5GzXaqUbDpQ0wgG6b0Ap2gKnlZKSo4 +BbN+8utZXQQazMvUVO4pLVn1F4GXo8Q1GV74aOckLJ+lMt9gD1FCU+vss1x2uI3/ERr BsMwvoKzz7DTRh62yv7eBTmdQG5djg/NcDD+c7xW4s0842s/nnWQfJUcFiKK2hphulfK 4QG46B3pMDtECmODfLq/dfFy5Z6vhz4c5bvMh97Jyn0YaPoiKjOtXODeGtq1zWXtV2Vk ZiFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=YcAAIlJLtp5p1WpXqi/lmeFIPVrfNGlN1/fQlxMnXvE=; b=uji+cEQbMBTLal/eV6aHr4z45uL5MyyDNEXtxlT5ve04TwwQmbwvXPjtVta4jnwS4W nht+sANjv3T4efBM6ddR+rC1uvX/Oe3kAMFnOnbekZGaqKWDhoFYRWMAPQ/AMefY31f6 yin4ma14lEXZeaIlNQizZOXjfxozMWETnI9aMUjnsbE/qIhTqreDixLsGPs6R9dfOPZX TlZLeQOQ7K0yYBjc9OEz2J1t9G/wFlCWWCThoiiN58OR5c3iIxTXsZ1l8OhfDp45cdia ue/in/ZnWZOWk2DU9HnO6hUDx2kQcUKZ2aVJUPGcON66ETV5oVv9LiHsWhuJoGx2fXUU GJ0w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d33-v6si5568004pgd.245.2018.07.05.05.14.52; Thu, 05 Jul 2018 05:15:07 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753941AbeGEMN7 (ORCPT + 99 others); Thu, 5 Jul 2018 08:13:59 -0400 Received: from icp-osb-irony-out7.external.iinet.net.au ([203.59.1.107]:55892 "EHLO icp-osb-irony-out7.external.iinet.net.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753637AbeGEMN5 (ORCPT ); Thu, 5 Jul 2018 08:13:57 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2BZAQDJCj5b/7WXqnwNTxwBAQEEAQE?= =?us-ascii?q?KAQGEK4Eng3qVAAEBAQEBAQaBCAgilyoqhE0Cgk43FQECAQEBAQEBAoEJhUI?= =?us-ascii?q?BAQEBAgEjFUEFCwsOCgICJgICVwYBDAYCAQGDHAGBcgUXp1JughyEW4NugTU?= =?us-ascii?q?FgQuIcIEHgTYMglyDGAKEYYJVAodAIQyFIIw/CAGGBokUgUaMFyuHUII6iSu?= =?us-ascii?q?BdDMaCCgIgySGAIpkXZEPAQE?= X-IPAS-Result: =?us-ascii?q?A2BZAQDJCj5b/7WXqnwNTxwBAQEEAQEKAQGEK4Eng3qVA?= =?us-ascii?q?AEBAQEBAQaBCAgilyoqhE0Cgk43FQECAQEBAQEBAoEJhUIBAQEBAgEjFUEFC?= =?us-ascii?q?wsOCgICJgICVwYBDAYCAQGDHAGBcgUXp1JughyEW4NugTUFgQuIcIEHgTYMg?= =?us-ascii?q?lyDGAKEYYJVAodAIQyFIIw/CAGGBokUgUaMFyuHUII6iSuBdDMaCCgIgySGA?= =?us-ascii?q?IpkXZEPAQE?= X-IronPort-AV: E=Sophos;i="5.51,312,1526313600"; d="scan'208";a="94869712" Received: from 124-170-151-181.dyn.iinet.net.au (HELO [192.168.0.106]) ([124.170.151.181]) by icp-osb-irony-out7.iinet.net.au with ESMTP; 05 Jul 2018 20:13:54 +0800 Subject: Re: [PATCH v2 0/3] m68k: switch to MEMBLOCK + NO_BOOTMEM To: Mike Rapoport , Geert Uytterhoeven , Sam Creasey Cc: Michal Hocko , linux-m68k@lists.linux-m68k.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org References: <1530685696-14672-1-git-send-email-rppt@linux.vnet.ibm.com> From: Greg Ungerer Message-ID: <4c08ad85-95f8-7001-5429-eaaf36d061de@linux-m68k.org> Date: Thu, 5 Jul 2018 22:13:52 +1000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <1530685696-14672-1-git-send-email-rppt@linux.vnet.ibm.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Mike, On 04/07/18 16:28, Mike Rapoport wrote: > These patches switch m68k boot time memory allocators from bootmem to > memblock + no_bootmem. > > The first two patches update __ffs() and __va() definitions to be inline > with other arches and asm-generic. This is required to avoid compilation > warnings in mm/memblock.c and mm/nobootmem.c. > > The third patch performs the actual switch of the boot time mm. Its > changelog has detailed description of the changes. > > I've tested the !MMU version with qemu-system-m68k -M mcf5208evb > and the MMU version with q800 using qemu from [1]. > > I've also build tested allyesconfig and *_defconfig. > > [1] https://github.com/vivier/qemu-m68k.git > > v2: > * fix reservation of the kernel text/data/bss for ColdFire MMU I am happy with all of these, so for me: Acked-by: Greg Ungerer Regards Greg > Mike Rapoport (3): > m68k/bitops: convert __ffs to match generic declaration > m68k/page_no.h: force __va argument to be unsigned long > m68k: switch to MEMBLOCK + NO_BOOTMEM > > arch/m68k/Kconfig | 3 +++ > arch/m68k/include/asm/bitops.h | 8 ++++++-- > arch/m68k/include/asm/page_no.h | 2 +- > arch/m68k/kernel/setup_mm.c | 14 ++++---------- > arch/m68k/kernel/setup_no.c | 20 ++++---------------- > arch/m68k/mm/init.c | 1 - > arch/m68k/mm/mcfmmu.c | 13 +++++++------ > arch/m68k/mm/motorola.c | 35 +++++++++++------------------------ > arch/m68k/sun3/config.c | 4 ---- > 9 files changed, 36 insertions(+), 64 deletions(-) >