Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3591726imm; Sun, 29 Jul 2018 23:15:51 -0700 (PDT) X-Google-Smtp-Source: AAOMgpemTgX3aNVERtl7MA8hk04ckY1hZJKUttZzUkJ+nD737a0xbUAL3xMssmirs+YVW8hOmcIH X-Received: by 2002:a63:9d87:: with SMTP id i129-v6mr14574196pgd.395.1532931351267; Sun, 29 Jul 2018 23:15:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532931351; cv=none; d=google.com; s=arc-20160816; b=TXSKHmR8oZfcXhXqCRme1ijlfpQuPsd7HB1SjsKY6N1QohDG2SNnlgBQSIvjSVb/3G soV4CwM161zdQshJQGcmzqzcJYAg6Xpg7EehtgRQ1MUf+hph/L8Vt7oJ1qTAsvMxlrTc +75h1JyCQFbGIdm+xyODwlOtROcmN5Hb0+fSswHRVPKwhrsIz1sh0vTRoNh3Cdhaitrm 50mMPaBxlWHYp91UT+qYoHcvmmsxrwyNnX3guoFFMhDPPfmJtPTxrWo2w8EeMBxJ1j/n 9gWZQXkohX0DCwBwEF2wV8rxYffvmkMMtP/o9xEAOkM5YrXDHft419zQRIrJwnxDRWJX pH5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:user-agent:in-reply-to :content-disposition:mime-version:references:subject:cc:to:from:date :arc-authentication-results; bh=TDTCBVdtGJb0PldMg/36z+MAnAuz5XMyzgGBxiAOT4U=; b=b4QHXUPYdoJmO/tA4TAygas90W8cYu9elz4WqLbpGlO9Gn+S/ELrpyWRztFg+dcwOA xkEam+Y1jQe51CLmq5BTlXishBpc4e7k3TXhEt2gEcmBjQ29R16i9eOjvW79JtabmkNc HSWiCweFD2xRwIV+bTRxovOLqUVYVoKB5Lhod7SpuieTo/L1lCjEgxgNY4NSVwVCZwY5 poZEB62uufhhZCAAVt6PY6BfyVSXjqieNj2wnyzeWLmZ6DVFxRLs/etp3HsHR8BvKVDi wwimlDswcXIsiVVRMTA61t6B/TNqfflzm6WiBSxYbFAyMnQ06YVhhgTpBQ8EHaa9w8GM uGfg== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r14-v6si10052902pfa.44.2018.07.29.23.15.37; Sun, 29 Jul 2018 23:15:51 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726518AbeG3HsM (ORCPT + 99 others); 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.