Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp476023pxv; Thu, 24 Jun 2021 12:08:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzRrMa6NiNu4nlchMyh3zw2OkdAcumvNKvUJWiEnjC0rELiKqHY0qt6yarvOwSbvmWWjmJP X-Received: by 2002:aa7:d7d3:: with SMTP id e19mr9125977eds.46.1624561732445; Thu, 24 Jun 2021 12:08:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624561732; cv=none; d=google.com; s=arc-20160816; b=EgSTDIJXFXEzhoWp5UkVC4IeZ3TFs1aev8ylQp8vSSANfDzh0hje74TCiykjX5Lk+3 FUgkukqr8AyL+SAj5iegPL/ZkkL2X31CN+zj4yKkcLRkcPqjkDlA2bIjiwD6GSFtD7sg M3QUIm2gO2ktD+ToVrVxWYnU/9drJGMga2hC4zI2nInTmdCdXZ91b2XDoNtjLXnYveZy SvUq+ZfCqKIsF9IR65HjYwYKqPO5D1nFtEi2F3+Ia4r35ubUoAXYbkSGyV/NPvvxIZDD 69Ev1Z08J1y8wdAn1K/BauEN7mmEFq1maOHzN1oU5WGQpdcjYXO7Kz3wF/TLst0CneoY UKAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=xeM6BF+kmfhSHu1ypq6fM0NbpYMNvzRJ0qbkk31usLE=; b=z/I5AoR1yrNvI3st+1TWKdkwmJHSmDBFgfReHG5HZHWKnvRPQZHc3AgbQVesfKlO6h FcmB/aiLqLYoS8v80j5I7GaOW3SdEFqVo0KxToGCV+I1X2tFY/DfdY6hk+omJ2K9px47 k1+Gjd2FVESJaeeXbO1v+U+CfjcfhMiIYBjzYzboW6628FAD3sP50GYJHSoClr1bemRh yXa7wKzHnN8JYNOhJ0G+nt519zHuqrNUr9gmDMTZOap2b9TxmyDX8Es133u6tXhjDBzA OVZqRuBiFHwQPrD4QttHIo8KMuoB5pEjv5d3FssIRjcl8v4C12QVYoaut9TT6QzoZYon WC0g== 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ze12si3470870ejb.669.2021.06.24.12.08.27; Thu, 24 Jun 2021 12:08:52 -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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232649AbhFXTJh (ORCPT + 99 others); Thu, 24 Jun 2021 15:09:37 -0400 Received: from mail-io1-f49.google.com ([209.85.166.49]:43897 "EHLO mail-io1-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232029AbhFXTJg (ORCPT ); Thu, 24 Jun 2021 15:09:36 -0400 Received: by mail-io1-f49.google.com with SMTP id k16so9535403ios.10; Thu, 24 Jun 2021 12:07:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=xeM6BF+kmfhSHu1ypq6fM0NbpYMNvzRJ0qbkk31usLE=; b=YFqjpMUvxTliEPULm+gXjuQ6xeM9EiQE29ySDhSiJb4NRxFXMha6sYopIXRriD65MN /U147g50xAPYyQs3UMmeYB81wV2VgcS7uKKyBTnu+MG1A/tCKanDiIgfVjynkxhzDucT stb0ZtddOmOs6e/42qexjY27pSeKkieUka+oCUQscwSS3AZDYM9iPj0XjX7ue0jkQjY+ i9JOxqXcSIMBNcxvtD3qgn4PW8iaR4Axbjg/gD98jWaoX0s83ruWQyjcFJvFykcslnx2 dh/FX4sbZDze4gFB6WpNob0Rcq5Cn6UEW0P8W/5Pgg/VVQaq3Zt6FNLzq+kjffMrBgLr j+nQ== X-Gm-Message-State: AOAM5313Yc5PN+6cetDFGJXH5KFisZClxufXmTcp6jzvcESKO2AMaKFF FqdXnxyPaz+asHBVredhPg== X-Received: by 2002:a02:9f8a:: with SMTP id a10mr6092348jam.136.1624561636036; Thu, 24 Jun 2021 12:07:16 -0700 (PDT) Received: from robh.at.kernel.org ([64.188.179.248]) by smtp.gmail.com with ESMTPSA id j25sm1818105iog.47.2021.06.24.12.07.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Jun 2021 12:07:14 -0700 (PDT) Received: (nullmailer pid 1821869 invoked by uid 1000); Thu, 24 Jun 2021 19:07:12 -0000 Date: Thu, 24 Jun 2021 13:07:12 -0600 From: Rob Herring To: Dong Aisheng Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-arm-kernel@lists.infradead.org, Rob Herring , dongas86@gmail.com, devicetree@vger.kernel.org Subject: Re: [PATCH 2/2] of: of_reserved_mem: mark nomap memory instead of removing Message-ID: <20210624190712.GA1821687@robh.at.kernel.org> References: <20210611131153.3731147-1-aisheng.dong@nxp.com> <20210611131153.3731147-2-aisheng.dong@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210611131153.3731147-2-aisheng.dong@nxp.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 11 Jun 2021 21:11:53 +0800, Dong Aisheng wrote: > Since commit 86588296acbf ("fdt: Properly handle "no-map" field in the memory region"), > nomap memory is changed to call memblock_mark_nomap() instead of > memblock_remove(). But it only changed the reserved memory with fixed > addr and size case in early_init_dt_reserve_memory_arch(), not > including the dynamical allocation by size case in > early_init_dt_alloc_reserved_memory_arch(). > > Cc: Rob Herring > Cc: devicetree@vger.kernel.org > Signed-off-by: Dong Aisheng > --- > drivers/of/of_reserved_mem.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > Applied, thanks!