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 X-Spam-Level: X-Spam-Status: No, score=-2.5 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS,USER_AGENT_MUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 27D1BFD21E1 for ; Mon, 30 Jul 2018 06:14:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D373520873 for ; Mon, 30 Jul 2018 06:14:51 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D373520873 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.vnet.ibm.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726535AbeG3HsM (ORCPT ); Mon, 30 Jul 2018 03:48:12 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:51430 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726344AbeG3HsM (ORCPT ); Mon, 30 Jul 2018 03:48:12 -0400 Received: from pps.filterd (m0098419.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w6U69atW017213 for ; Mon, 30 Jul 2018 02:14:48 -0400 Received: from e06smtp02.uk.ibm.com (e06smtp02.uk.ibm.com [195.75.94.98]) by mx0b-001b2d01.pphosted.com with ESMTP id 2khqwdh8dq-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 30 Jul 2018 02:14:48 -0400 Received: from localhost by e06smtp02.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 30 Jul 2018 07:14:47 +0100 Received: from b06cxnps4074.portsmouth.uk.ibm.com (9.149.109.196) by e06smtp02.uk.ibm.com (192.168.101.132) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Mon, 30 Jul 2018 07:14:44 +0100 Received: from d06av22.portsmouth.uk.ibm.com (d06av22.portsmouth.uk.ibm.com [9.149.105.58]) by b06cxnps4074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w6U6Eh4V33554654 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 30 Jul 2018 06:14:43 GMT Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 67BD14C04E; Mon, 30 Jul 2018 09:14:56 +0100 (BST) Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 73B1C4C040; Mon, 30 Jul 2018 09:14:55 +0100 (BST) Received: from rapoport-lnx (unknown [9.148.8.125]) by d06av22.portsmouth.uk.ibm.com (Postfix) with ESMTPS; Mon, 30 Jul 2018 09:14:55 +0100 (BST) Date: Mon, 30 Jul 2018 09:14:40 +0300 From: Mike Rapoport To: Ley Foon Tan Cc: Rob Herring , Frank Rowand , Michal Hocko , nios2-dev@lists.rocketboards.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/3] nios2: switch to NO_BOOTMEM References: <1530710295-10774-1-git-send-email-rppt@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1530710295-10774-1-git-send-email-rppt@linux.vnet.ibm.com> User-Agent: Mutt/1.5.24 (2015-08-30) X-TM-AS-GCONF: 00 x-cbid: 18073006-0008-0000-0000-00000259BA1E X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18073006-0009-0000-0000-000021C046C6 Message-Id: <20180730061439.GB15948@rapoport-lnx> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-07-30_02:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=660 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1806210000 definitions=main-1807300071 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Any updates on this? On Wed, Jul 04, 2018 at 04:18:12PM +0300, Mike Rapoport wrote: > These patches switch nios2 boot time memory allocators from bootmem to > memblock + no_bootmem. > > As nios2 uses fdt, the conversion is pretty much about actually using the > existing fdt infrastructure for the early memory management. > > The first patch in the series is not strictly related to nios2. It's just > I've got really interesting memory layout without it because of 1K long > memory ranges defined in arch/nios2/boot/dts/10m50_devboard.dts. > > Mike Rapoport (3): > of: ignore sub-page memory regions > nios2: use generic early_init_dt_add_memory_arch > nios2: switch to NO_BOOTMEM > > arch/nios2/Kconfig | 3 +++ > arch/nios2/kernel/prom.c | 17 ----------------- > arch/nios2/kernel/setup.c | 39 +++++++-------------------------------- > drivers/of/fdt.c | 11 ++++++----- > 4 files changed, 16 insertions(+), 54 deletions(-) > > -- > 2.7.4 > -- Sincerely yours, Mike.