Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp805733imm; Wed, 4 Jul 2018 06:21:08 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdpbfAuLo95KsXJpvCUuVAea89HXynyB0prMOfcKI0nI9E0vh4CQPCQOGmnDbJass1qI5AW X-Received: by 2002:a63:7c5c:: with SMTP id l28-v6mr1961626pgn.352.1530710468450; Wed, 04 Jul 2018 06:21:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530710468; cv=none; d=google.com; s=arc-20160816; b=P8z93q/g6OcQA4UERxCrkCwOUiENT1pdlpSytiH/EXOPljtDbQ7Oy1bIo7imHTgsoh O7wE2SIlpb2gOABu98dOOFmxrQrnO48NMoyh9tl7kiaeL1kE9npgPdkfbG5Pa9n2j4iZ q7duRseuVfvLJoEcQbP+avve8KvHCT4mwocYPNzvTxbUA1I5eTNsSrK+NwztLaxZOfy0 aZZQunTj/6v23aYq+2XTgceGeP76Ih7LB0XfU4OXFOMZKNs1OX43+lODHf+Au0er3le2 57bUxfIjz/hAHSOikwS9eXU6nivkwQ0tJLHudCIVtJj8rc3lTmhNrmInQAD9lfZqhmoD cw5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=snLOsM9XG7lb4G9yQCQF05zd+dbv3PAZEvybgIPPuuU=; b=OgTOdhkXJ00meq+qHSyTOCsjwupryMFMevQxlXI2js3p7Il43HspVSrcUZvoG/WfVt 09YJ2wb4n9dRVtYEGvSk1p3UrSpeQWwllcMM1RZi8RQFpdfJ8Tq5qj/yt6p2lsb0zfoc 3zXVGP5mVgdXhhUGBymJgjp+2w/SwJe1Atf/ZbrhSG+twJeSyqUS5Dz9W4gDPJCIMP8i T5tpCRv+kl+0zSU6jz7Ir8k7zER+c+fPzjb5cbyyrEV7QQ2DboL6RrNck3GGrwbnvvkk iM4o9HIY1giM1bmpUXK2wcCMrIERWogqaVmxTuyiQfcLC9+AnTGhu8lr0/u8Qgh18XFN ZXVg== 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 d190-v6si3965663pfd.113.2018.07.04.06.20.54; Wed, 04 Jul 2018 06:21:08 -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 S1753347AbeGDNS0 (ORCPT + 99 others); Wed, 4 Jul 2018 09:18:26 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:54494 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753207AbeGDNSY (ORCPT ); Wed, 4 Jul 2018 09:18:24 -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 w64D9oId110697 for ; Wed, 4 Jul 2018 09:18:24 -0400 Received: from e06smtp02.uk.ibm.com (e06smtp02.uk.ibm.com [195.75.94.98]) by mx0b-001b2d01.pphosted.com with ESMTP id 2k0wn5usfu-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 04 Jul 2018 09:18:24 -0400 Received: from localhost by e06smtp02.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 4 Jul 2018 14:18:22 +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) Wed, 4 Jul 2018 14:18:19 +0100 Received: from d06av25.portsmouth.uk.ibm.com (d06av25.portsmouth.uk.ibm.com [9.149.105.61]) by b06cxnps4074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w64DII0M36045052 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 4 Jul 2018 13:18:18 GMT Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id A12BF11C052; Wed, 4 Jul 2018 16:18:43 +0100 (BST) Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 0E78511C058; Wed, 4 Jul 2018 16:18:42 +0100 (BST) Received: from rapoport-lnx (unknown [9.148.8.160]) by d06av25.portsmouth.uk.ibm.com (Postfix) with ESMTPS; Wed, 4 Jul 2018 16:18:41 +0100 (BST) Received: by rapoport-lnx (sSMTP sendmail emulation); Wed, 04 Jul 2018 16:18:16 +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, Mike Rapoport Subject: [PATCH 0/3] nios2: switch to NO_BOOTMEM Date: Wed, 4 Jul 2018 16:18:12 +0300 X-Mailer: git-send-email 2.7.4 X-TM-AS-GCONF: 00 x-cbid: 18070413-0008-0000-0000-0000024F9D59 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18070413-0009-0000-0000-000021B5B26E Message-Id: <1530710295-10774-1-git-send-email-rppt@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-07-04_04:,, 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=504 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1806210000 definitions=main-1807040152 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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