From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9D7DCC43217 for ; Mon, 27 Sep 2021 15:20:04 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id F04D161058 for ; Mon, 27 Sep 2021 15:20:03 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org F04D161058 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linux-m68k.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kvack.org Received: by kanga.kvack.org (Postfix) id 77B396B0071; Mon, 27 Sep 2021 11:20:03 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 72A9C6B0072; Mon, 27 Sep 2021 11:20:03 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 619746B0073; Mon, 27 Sep 2021 11:20:03 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0180.hostedemail.com [216.40.44.180]) by kanga.kvack.org (Postfix) with ESMTP id 52C916B0071 for ; Mon, 27 Sep 2021 11:20:03 -0400 (EDT) Received: from smtpin11.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with ESMTP id 053E98249980 for ; Mon, 27 Sep 2021 15:20:03 +0000 (UTC) X-FDA: 78633713886.11.E373B5C Received: from mail-vk1-f172.google.com (mail-vk1-f172.google.com [209.85.221.172]) by imf03.hostedemail.com (Postfix) with ESMTP id 93B3A30000A6 for ; Mon, 27 Sep 2021 15:20:02 +0000 (UTC) Received: by mail-vk1-f172.google.com with SMTP id h132so7099846vke.8 for ; Mon, 27 Sep 2021 08:20:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=F5wb4ZX9gwgasne0NhWUEprI9AwQOWamOuZRWGphiLM=; b=kcQyhHsx+IJiSHu/pufFraCS0ODmxrQKlqVX4l9OJro4+JB7HQ1RYLJ02BciqLzTWX zb/JTy1sJ+DdSwq0eczdoyz9zGSAM8DohjtARjjLoOThVLIa9TljOeBpu5QSRxsXEgWN UcshlRvDrDRN8nO1XQzr0DO8ZXpZgORayb/ZQ2jDubOPRbBJJivXuQl2I+UoFnYo3341 QLqCY5jrUVhI3vht/WELlijeYrnp3YVwk9PFgIjeErnkRfLCLR+yc+dXIUtwqRWLsRgm wR+oTQX1R0r3ghbBSdmuNP55nNcj0uDjn56ubvI2E320UCXpPmVC9oEW5Z2B/zi5/EMu v55w== X-Gm-Message-State: AOAM531Nv5ya/GviREqmQ/anQ91+ZXVgIMol9gwjndEb5b+F4BLovqTB 6jBz54VhQJy4pDU0YF3GDuEu/HmmfTXXD1D3wLE= X-Google-Smtp-Source: ABdhPJxj2OeFkxklgcIGHyfFHROJ0kJKH8P7BoepnpioKOsPmd/3DG/ainzZgT/3Vd7Z0PN8a+SyRrxXemz3PM2L1AY= X-Received: by 2002:a1f:230c:: with SMTP id j12mr572707vkj.11.1632756001800; Mon, 27 Sep 2021 08:20:01 -0700 (PDT) MIME-Version: 1.0 References: <20210927150518.8607-1-david@redhat.com> <20210927150518.8607-3-david@redhat.com> In-Reply-To: <20210927150518.8607-3-david@redhat.com> From: Geert Uytterhoeven Date: Mon, 27 Sep 2021 17:19:50 +0200 Message-ID: Subject: Re: [PATCH v1 2/4] memblock: allow to specify flags with memblock_add_node() To: David Hildenbrand Cc: Linux Kernel Mailing List , Andrew Morton , Mike Rapoport , Michal Hocko , Oscar Salvador , Jianyong Wu , "Aneesh Kumar K . V" , Vineet Gupta , Huacai Chen , Jiaxun Yang , Thomas Bogendoerfer , Heiko Carstens , Vasily Gorbik , Christian Borntraeger , Eric Biederman , Arnd Bergmann , arcml , "linux-ia64@vger.kernel.org" , linux-m68k , "open list:BROADCOM NVRAM DRIVER" , linux-s390 , Linux MM , kexec@lists.infradead.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Server: rspam01 X-Rspamd-Queue-Id: 93B3A30000A6 X-Stat-Signature: kwnh9a9tujh3ixz8gkxbkrs94cnyf1fb Authentication-Results: imf03.hostedemail.com; dkim=none; dmarc=none; spf=pass (imf03.hostedemail.com: domain of geert.uytterhoeven@gmail.com designates 209.85.221.172 as permitted sender) smtp.mailfrom=geert.uytterhoeven@gmail.com X-HE-Tag: 1632756002-868482 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Mon, Sep 27, 2021 at 5:05 PM David Hildenbrand wrote: > We want to specify flags when hotplugging memory. Let's prepare to pass > flags to memblock_add_node() by adjusting all existing users. > > Note that when hotplugging memory the system is already up and running > and we don't want to add the memory first and apply flags later: it > should happen within one memblock call. > > Signed-off-by: David Hildenbrand > arch/m68k/mm/mcfmmu.c | 3 ++- > arch/m68k/mm/motorola.c | 6 ++++-- Acked-by: Geert Uytterhoeven 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