Received: by 10.192.165.148 with SMTP id m20csp542326imm; Wed, 2 May 2018 04:59:27 -0700 (PDT) X-Google-Smtp-Source: AB8JxZr6eRmslxtfnpkjfiUYGe5ncQGGpWDFwin3mmK6beEEcixKE7zygyQA8jC+HR2DTWmoN4G7 X-Received: by 2002:a17:902:3225:: with SMTP id y34-v6mr20271257plb.180.1525262367124; Wed, 02 May 2018 04:59:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525262367; cv=none; d=google.com; s=arc-20160816; b=MPnvXKN5ZTVtOAPHyzGj0ZYDKBLco+hSrSoZr6eQBB6Pdww3qadOihHatg4nKWvxR3 yiKTeT4QV6RkwlnRBbvBdSpW6mZo2m3EpEybDreXc8JFCnZT5C90gCN2pC4BRyI1apPq aTZXf11OEcP4HurxSZOj/djzzESLbiGYABVyPxR8jgmjTkq5am239AvhwXrs+OhSfjyn RvyUmMhG9eSIYJFBnycYOqR+mjXxf4V7f8yPUdvHGF01N0cyD1uWbXI+EACEUTsvjn1P RRiRd3HqyjBuTjF3IDadIzg9sa1ZbWg4V8CZT2Ll85CWdindm+vZEjEW5ZR5EvRITLB4 oDew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:subject:cc:to:from:message-id:date :arc-authentication-results; bh=lGsvTEIRMXaWzGUhKNMcdQxm6AMI5sUYMEikWJQJGA0=; b=S/Ngul5P+LQD7jW7h3hUfDBs/CfAG/ts04ISWywB2BDKrrH7LmT7fna/CVT5nH3cki FFlZ0BXkqp1kJNwhwzF2a0Wt+D2gU8HZHa+LIE2QmkPdYe6PuCixRRaFmkmM8LVC4LSo IymiEPr7eX7D3Rg0FbwoXxV5dUf14SWlqm9zmtDaQ5r7h6u+u+IAeIrMdzTSf3P0gj8c cru8RICBPtKARqYgy93olZHEVmn0hYalTla0RlJhtEIZIPt8OQ8T3Ca8Ek5pg5NssrGk +KVna0bS2sRKqHK5C0TqHxPH9MrndYyYaThphh2geXKnCYhHbeV9paFx/iTqhisSgVch Vvng== 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 s24-v6si10744827plp.564.2018.05.02.04.59.12; Wed, 02 May 2018 04:59:27 -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 S1751329AbeEBL7E (ORCPT + 99 others); Wed, 2 May 2018 07:59:04 -0400 Received: from mail02.asahi-net.or.jp ([202.224.55.14]:58597 "EHLO mail02.asahi-net.or.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750936AbeEBL67 (ORCPT ); Wed, 2 May 2018 07:58:59 -0400 X-Greylist: delayed 316 seconds by postgrey-1.27 at vger.kernel.org; Wed, 02 May 2018 07:58:59 EDT Received: from h61-195-96-97.vps.ablenet.jp (h61-195-96-97.vps.ablenet.jp [61.195.96.97]) (Authenticated sender: PQ4Y-STU) by mail02.asahi-net.or.jp (Postfix) with ESMTPA id 8F1BFD156F; Wed, 2 May 2018 20:53:40 +0900 (JST) Received: from yo-satoh-debian.labs.sios.com (ZM028236.ppp.dion.ne.jp [222.8.28.236]) by h61-195-96-97.vps.ablenet.jp (Postfix) with ESMTPSA id 48E6F24006D; Wed, 2 May 2018 20:53:40 +0900 (JST) Date: Wed, 02 May 2018 20:53:39 +0900 Message-ID: <87lgd2tgsc.wl-ysato@users.sourceforge.jp> From: Yoshinori Sato To: Rob Herring Cc: "linux-kernel@vger.kernel.org" , "moderated list:H8/300 ARCHITECTURE" Subject: Re: [PATCH] h8300: switch to NO_BOOTMEM In-Reply-To: References: <20180316213306.20424-1-robh@kernel.org> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL/10.8 EasyPG/1.0.0 Emacs/24.5 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 02 May 2018 11:33:41 +0900, Rob Herring wrote: > > On Fri, Mar 16, 2018 at 4:33 PM, Rob Herring wrote: > > Commit 0fa1c579349f ("of/fdt: use memblock_virt_alloc for early alloc") > > inadvertently switched the DT unflattening allocations from memblock to > > bootmem which doesn't work because the unflattening happens before > > bootmem is initialized. Swapping the order of bootmem init and > > unflattening could also fix this, but removing bootmem is desired. So > > enable NO_BOOTMEM on h8300 like other architectures have done. > > > > Fixes: 0fa1c579349f ("of/fdt: use memblock_virt_alloc for early alloc") > > Cc: Yoshinori Sato > > Cc: uclinux-h8-devel@lists.sourceforge.jp > > Signed-off-by: Rob Herring > > --- > > I haven't seen any reports, but 4.16 is likely broken. This is compile > > tested only. > > > > Moving unflattening after bootmem_init should also work if a smaller > > change for 4.16 is desired. > > Ping! Someone going to pick this up? > > Rob Sorry. I looked out. Please wait several days to confirm. -- Yosinori Sato