Received: by 10.192.165.148 with SMTP id m20csp138778imm; Tue, 1 May 2018 19:35:45 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpOArAlZFS7LWSjo0sXEKRtfTT3x4edY6H5ujrHC/uEyr770LFTRV3Vr2OZdJkEXQSK26MJ X-Received: by 2002:a63:5fd2:: with SMTP id t201-v6mr14970217pgb.315.1525228545606; Tue, 01 May 2018 19:35:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525228545; cv=none; d=google.com; s=arc-20160816; b=Whkk28O3JYbezzknaeUAQ330do51QtVzNJ4RXsz7vk9+WFGEotdQtczAkZCc+uaVn4 BJ7gsYU+59rY5LteoHhSo1RJTsI0OXxQImomzxxxlDr9YWarvrTCl8VFxOT0w+Dz6lkD sztnxnBW05gPteXmJ3Y3lLgbyK54K/eQME/8q0+urHi+5KL+k1hiyO9+qTSgtQMxLYN5 o1MFWeH1QRDLZb+r7c228sBFB0l0wbcpS/rG/cL1WXNXZrrJ9WFvfYV4YYPKdSgMJyZM 4GDWpiOvx7Z9yLpIAHjjj09iQsVHYJTTbWp8I1ZOWtlMhZC+uPqbKRh3ZGQf/IEYPw6G canQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=wpY4ym4R8t1tDkVqM2lUB77UN7NfqkXT+CMlu+CxAJQ=; b=t2SsE57tkdu8oTiRIJoO7tWNJQVIdP9Pflw3Uaw/bF7pnj1Bf44roD1IQGQn1qF0Jg dIyk2K2f7qo2Ug2ilj9J2sCq25pXQEflQrhW56FN85AjuAPKd1FOzm/DWwNXxfgvZ2PY ZrUqeUa9IzUzkYq9XqQPHm3pZTsTo1aU/OEylkLqYBB8hVLkLUgrHcJ9or1O5tkaz+24 1SxARoTRKJTOmuszK/BDbq4Due0MhMQwT3mGCVBHjX/7jn22Y91BSnKXZ6yGkjTTFKgQ x2OKltYdLBvuwm7Vww10jzOXwnp0wXpldAtmY3NhqWqiTrOjFPPeCU0PJBkwhlLZur8P AOzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=BE0QceYN; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b23si3812271pfi.40.2018.05.01.19.35.30; Tue, 01 May 2018 19:35:45 -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; dkim=pass header.i=@kernel.org header.s=default header.b=BE0QceYN; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751094AbeEBCeF (ORCPT + 99 others); Tue, 1 May 2018 22:34:05 -0400 Received: from mail.kernel.org ([198.145.29.99]:41816 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750911AbeEBCeD (ORCPT ); Tue, 1 May 2018 22:34:03 -0400 Received: from mail-qt0-f176.google.com (mail-qt0-f176.google.com [209.85.216.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id E3ADD23762 for ; Wed, 2 May 2018 02:34:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1525228443; bh=wpY4ym4R8t1tDkVqM2lUB77UN7NfqkXT+CMlu+CxAJQ=; h=In-Reply-To:References:From:Date:Subject:To:Cc:From; b=BE0QceYN42JNkpqKt2uRmE7PrNHUjWtDFpDCI2VpVZNTIfJm7QDRNXKDMdq+g66fa euVf1uKZuxGu919VelKiaKdWC5dHbgeBfSeqikgZw+2uOhY7dc3gz2glzEHE3rZXlx EbIZxc/tirzPB3PL/r2speB/eSdup2FZVXDY3VTg= Received: by mail-qt0-f176.google.com with SMTP id e8-v6so11796709qth.0 for ; Tue, 01 May 2018 19:34:02 -0700 (PDT) X-Gm-Message-State: ALQs6tBC2iuKokQOzZhPWLL6qjWIXnfodxS/Unq71OtSK9DffcNuYJWE fpmFCVHVNRutNDUAzBcgFA3iVExqpqaSMgxoFg== X-Received: by 2002:a0c:aa9a:: with SMTP id f26-v6mr14846087qvb.106.1525228442107; Tue, 01 May 2018 19:34:02 -0700 (PDT) MIME-Version: 1.0 Received: by 10.12.155.2 with HTTP; Tue, 1 May 2018 19:33:41 -0700 (PDT) In-Reply-To: <20180316213306.20424-1-robh@kernel.org> References: <20180316213306.20424-1-robh@kernel.org> From: Rob Herring Date: Tue, 1 May 2018 21:33:41 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] h8300: switch to NO_BOOTMEM To: "linux-kernel@vger.kernel.org" , Yoshinori Sato Cc: "moderated list:H8/300 ARCHITECTURE" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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