Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2010142imm; Thu, 2 Aug 2018 04:57:44 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcMOKpV9+Mh34nKDEeoZBL4VpVz6Fa34UveU26LWNV8kFPzviyEz2HjeOjSSZeCeZOLiKJU X-Received: by 2002:a17:902:9687:: with SMTP id n7-v6mr2063501plp.33.1533211064066; Thu, 02 Aug 2018 04:57:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533211064; cv=none; d=google.com; s=arc-20160816; b=Z/wdJeDP5P4orIZEIuv48+V5Z1vOYywTlkI7tHgxAFAUcmGc1W6vS1ThN3NcFOQZgf AvmgN9M8fn0XWAi2PWzmRtj3hXKmkCuyyyoaaoLWxcMriTZi1EDdGm+d5w5u+Fr+nQFC +0uEmIexVyn3Ne4UnzGDTHYZ5eJ0XrsAVvxAuayy6wU68jD108x3fkLK8I900OOw1AMj JQnnCarja26L4WXFNnOJt5zXK9afCs6lOwYtcz7Y/SLMrzrQzULYc/cuedegVabypK4a 83zRDGcIk3tUEQ59COm1iYGotH0UcW9irRCtlx1ouBnfpd/jzg8t4u+8Mk/PlupKLByg Ex/g== 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=4dImrZVUsVmX8ddvWw7fPpdDR3EAlqWs5J39aIsHoCk=; b=S6AcrDUBp6gMUaIFkEkdV6L5wvNb3hvhcdqAfKG2Lf5OgvmCmh5BpPRHDy2DNh6hO1 ljX8818oN0eJMPSW1WTYrFRdPNMsKOTl1r1If+UHwcmDMyqM2CD/FsKQJ9rnbwztSz/A s+EEzQ0erBLghAUFo7OZdAdQFsybw33AJGlvV/sOLX0lw0JDON2GBcXSXSJS6RkPjR63 IxzvlKsuytaFPXQtEv3dQfMq0rgs6E4uwd3Vpzomde3P6bSTbekv2eJ6Yne2mXzZaiAS sU6ZhiWTZLg1i7KtEphgShqBdDb0dxQpMTejFKfV5MPcYhTK4GImkSEt1h5nmu+N5/Nt vvlA== 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 6-v6si1644606pgv.508.2018.08.02.04.57.29; Thu, 02 Aug 2018 04:57:44 -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 S2387418AbeHBNqk (ORCPT + 99 others); Thu, 2 Aug 2018 09:46:40 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:48454 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731961AbeHBNqk (ORCPT ); Thu, 2 Aug 2018 09:46:40 -0400 Received: from pps.filterd (m0098394.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w72BtkSM137099 for ; Thu, 2 Aug 2018 07:55:49 -0400 Received: from e06smtp03.uk.ibm.com (e06smtp03.uk.ibm.com [195.75.94.99]) by mx0a-001b2d01.pphosted.com with ESMTP id 2kky4qe8e6-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 02 Aug 2018 07:55:48 -0400 Received: from localhost by e06smtp03.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 2 Aug 2018 12:54:01 +0100 Received: from b06cxnps4074.portsmouth.uk.ibm.com (9.149.109.196) by e06smtp03.uk.ibm.com (192.168.101.133) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Thu, 2 Aug 2018 12:53:58 +0100 Received: from d06av21.portsmouth.uk.ibm.com (d06av21.portsmouth.uk.ibm.com [9.149.105.232]) by b06cxnps4074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w72BrvNZ38535208 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 2 Aug 2018 11:53:57 GMT Received: from d06av21.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 3273152054; Thu, 2 Aug 2018 14:54:07 +0100 (BST) Received: from rapoport-lnx (unknown [9.148.207.181]) by d06av21.portsmouth.uk.ibm.com (Postfix) with ESMTPS id 7C4715204E; Thu, 2 Aug 2018 14:54:05 +0100 (BST) Received: by rapoport-lnx (sSMTP sendmail emulation); Thu, 02 Aug 2018 14:53:54 +0300 From: Mike Rapoport To: "David S. Miller" Cc: Sam Ravnborg , Michal Hocko , sparclinux@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Mike Rapoport Subject: [PATCH 0/2] sparc32: switch to NO_BOOTMEM Date: Thu, 2 Aug 2018 14:53:51 +0300 X-Mailer: git-send-email 2.7.4 X-TM-AS-GCONF: 00 x-cbid: 18080211-0012-0000-0000-00000292BF56 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18080211-0013-0000-0000-000020C4CC6E Message-Id: <1533210833-14748-1-git-send-email-rppt@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-08-02_03:,, 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=715 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1806210000 definitions=main-1808020125 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, These patches convert sparc32 to use memblock + nobootmem. I've made the conversion as simple as possible, just enough to allow moving HAVE_MEMBLOCK and NO_BOOTMEM to the common SPARC configuration. Mike Rapoport (2): sparc32: switch to NO_BOOTMEM sparc32: tidy up ramdisk memory reservation arch/sparc/Kconfig | 4 +-- arch/sparc/mm/init_32.c | 90 +++++++++++++++---------------------------------- 2 files changed, 29 insertions(+), 65 deletions(-) -- 2.7.4