Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3383919imm; Mon, 6 Aug 2018 03:57:34 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfHt7W+shg3RZtKWl7/iClgZOynh8hmL58+ny7hLTxXPwSMbfAMT5EET6QXDaW63T/lVPHg X-Received: by 2002:a63:375b:: with SMTP id g27-v6mr14151623pgn.59.1533553054050; Mon, 06 Aug 2018 03:57:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533553054; cv=none; d=google.com; s=arc-20160816; b=svsEqZ3Q8bBYxe9D1kjps5dd71L2s2qJYKq2/bDKCHYrCZAUXITw3hte3RNkhQ57/s kJGAagNiHe03XAEJ3oaPocLx/JZYhGF0t8l+UjQZzUpFsWl30ld8cO2GeDzzwW6AZHqN l1osKAtE/JZ3XGDyjeM9fDVRcvQY1d/soqB2wkIllvYUtPDWZWeiUkELijiwqLLfcPC7 eqgk/IsBhE1FHRsn0kcdITEVFVgLqBBFXP/eDc8Cum2hlCGTs9qVeF4Re7K0rxNrw/Fn ugX/YiddijTyFbS2NXRfUrGTLR63FiOoaiElv1sdU0KWT2gBZP2ArX84usiz8HKd88Xc CIsA== 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=92xkr8RZAHZ27tpLCPhX5+N7Akk6Lum55CJmcBG2FEQ=; b=M3xuxDLed1fhInhe/7IcdJj82C1BnCTg2ZrLYJqjtKbdVAwiQ0mApbAXFAgfrANed7 rEBM43psBeU2qoycN0aQcHRUbasBrGUMbypZq3sYPzrcvzOGHOmdCDsw9bU69xmMwCFp QuWzyE16Z407o9AbwsiiGGERBFsb/rMEH20un9nWGV960tPT1A62rd/+yt1PBlu4iUit 7F7zaS4K04NCKVuX2crYpSwoF48htGi5gPdLHxF9hSAzVlwAfIhVgrxHtax3ZX5VIzsh d2tLCnGrJgtdCpWwLU/fPDARxqBMf6mC4NJF/djmqIbKKFqFleqs5dzb8400CHtlV8gc lebA== 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 s65-v6si12523943pgb.486.2018.08.06.03.57.19; Mon, 06 Aug 2018 03:57:34 -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 S1730098AbeHFNBQ (ORCPT + 99 others); Mon, 6 Aug 2018 09:01:16 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:36578 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728723AbeHFNBQ (ORCPT ); Mon, 6 Aug 2018 09:01:16 -0400 Received: from pps.filterd (m0098420.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w76An6P1093255 for ; Mon, 6 Aug 2018 06:52:46 -0400 Received: from e06smtp04.uk.ibm.com (e06smtp04.uk.ibm.com [195.75.94.100]) by mx0b-001b2d01.pphosted.com with ESMTP id 2kpkkvuam1-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 06 Aug 2018 06:52:45 -0400 Received: from localhost by e06smtp04.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 6 Aug 2018 11:52:44 +0100 Received: from b06cxnps3075.portsmouth.uk.ibm.com (9.149.109.195) by e06smtp04.uk.ibm.com (192.168.101.134) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Mon, 6 Aug 2018 11:52:41 +0100 Received: from d06av24.portsmouth.uk.ibm.com (mk.ibm.com [9.149.105.60]) by b06cxnps3075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w76AqeuQ39780368 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 6 Aug 2018 10:52:40 GMT Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 24A0B42041; Mon, 6 Aug 2018 13:52:50 +0100 (BST) Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 04DF542042; Mon, 6 Aug 2018 13:52:48 +0100 (BST) Received: from rapoport-lnx (unknown [9.148.8.115]) by d06av24.portsmouth.uk.ibm.com (Postfix) with ESMTPS; Mon, 6 Aug 2018 13:52:47 +0100 (BST) Received: by rapoport-lnx (sSMTP sendmail emulation); Mon, 06 Aug 2018 13:52:36 +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 v2 0/3] sparc32: switch to NO_BOOTMEM Date: Mon, 6 Aug 2018 13:52:32 +0300 X-Mailer: git-send-email 2.7.4 X-TM-AS-GCONF: 00 x-cbid: 18080610-0016-0000-0000-000001F1E44E X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18080610-0017-0000-0000-00003247236B Message-Id: <1533552755-16679-1-git-send-email-rppt@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-08-06_06:,, 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=730 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1807170000 definitions=main-1808060117 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. v2 changes: * split whitespace changes to a separate patch * address Sam's comments [1] [1] https://lkml.org/lkml/2018/8/2/403 Mike Rapoport (3): sparc: mm/init_32: kill trailing whitespace sparc32: switch to NO_BOOTMEM sparc32: split ramdisk detection and reservation to a helper function arch/sparc/Kconfig | 4 +- arch/sparc/mm/init_32.c | 127 ++++++++++++++++++------------------------------ 2 files changed, 50 insertions(+), 81 deletions(-) -- 2.7.4