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=-5.5 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_PASS,URIBL_BLOCKED,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 0F796C43381 for ; Tue, 19 Mar 2019 21:05:35 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D454D213F2 for ; Tue, 19 Mar 2019 21:05:34 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="ivuicCLF" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D454D213F2 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.ibm.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Message-Id:In-Reply-To:MIME-Version: References:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Z6GRXw027Nih283P2Rj4aAjR5/Qlx8pwFAgjs6jhvas=; b=ivuicCLFmo38RG 2/K8dv/zep/qrzmmzpHmswmiQxhE6O1PdmNaKbo0PkfeOoZcdTa0Q49tCIJQmBwPAfq0FBNa74nM4 lCSl74aNphBI6STvOd8EculfVpbBUkkwL+6HFyHW6iehKf9STEclWwlO0hICZ/dZ2a9SEClLTo8NX rJ/Wy8sYn9gfswPlwdgQUAQegVVxOPa5W/KI+9xe0Cub4lyxDKa+c/5WmEX3Mo8WHwx/GV4Rlb5rR lQUeAIKucPsmFaNXnSi9vR8P1mrWKO5NrAHTZvoK152pdDJLZd7KYTZBXfq5nkxRAAhn5bygVwJcT kFnWubALj+apZWyXOJIA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1h6LvO-0001cf-RW; Tue, 19 Mar 2019 21:05:30 +0000 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5] helo=mx0a-001b2d01.pphosted.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h6LvK-0001bT-AS for linux-arm-kernel@lists.infradead.org; Tue, 19 Mar 2019 21:05:28 +0000 Received: from pps.filterd (m0098414.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x2JKx5lH087326 for ; Tue, 19 Mar 2019 17:05:24 -0400 Received: from e06smtp02.uk.ibm.com (e06smtp02.uk.ibm.com [195.75.94.98]) by mx0b-001b2d01.pphosted.com with ESMTP id 2rb75kjfq3-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 19 Mar 2019 17:05:24 -0400 Received: from localhost by e06smtp02.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 19 Mar 2019 21:05:19 -0000 Received: from b06cxnps4075.portsmouth.uk.ibm.com (9.149.109.197) 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) Tue, 19 Mar 2019 21:05:15 -0000 Received: from d06av23.portsmouth.uk.ibm.com (d06av23.portsmouth.uk.ibm.com [9.149.105.59]) by b06cxnps4075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x2JL5I8j31260794 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 19 Mar 2019 21:05:18 GMT Received: from d06av23.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 355A5A4040; Tue, 19 Mar 2019 21:05:18 +0000 (GMT) Received: from d06av23.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 2099DA4051; Tue, 19 Mar 2019 21:05:17 +0000 (GMT) Received: from rapoport-lnx (unknown [9.148.205.239]) by d06av23.portsmouth.uk.ibm.com (Postfix) with ESMTPS; Tue, 19 Mar 2019 21:05:17 +0000 (GMT) Date: Tue, 19 Mar 2019 23:05:09 +0200 From: Mike Rapoport To: Logan Gunthorpe Subject: Re: [PATCH] ARM: mm: make use of new memblocks_present() helper References: <20190319181357.9305-1-logang@deltatee.com> <20190319204253.GB17966@rapoport-lnx> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-TM-AS-GCONF: 00 x-cbid: 19031921-0008-0000-0000-000002CF4822 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 19031921-0009-0000-0000-0000223B5CD1 Message-Id: <20190319210508.GD17966@rapoport-lnx> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-03-19_10:, , 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=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1903190147 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190319_140526_478976_8A7DA4F5 X-CRM114-Status: GOOD ( 26.04 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Nicolas Pitre , Rob Herring , Florian Fainelli , Kees Cook , linux-kernel@vger.kernel.org, "Steven Rostedt \(VMware\)" , Russell King , Philip Derrin , Andrew Morton , linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, Mar 19, 2019 at 02:50:25PM -0600, Logan Gunthorpe wrote: > > > On 2019-03-19 2:42 p.m., Mike Rapoport wrote: > > On Tue, Mar 19, 2019 at 12:13:57PM -0600, Logan Gunthorpe wrote: > >> Cleanup the arm_memory_present() function seeing it's very > >> similar to other arches. > >> > >> The new memblocks_present() helper checks for node ids which the > >> arm version did not. However, this is equivalent seeing > >> HAVE_MEMBLOCK_NODE_MAP should be false in this arch and therefore > >> memblock_get_region_node() should return 0. > >> > >> Signed-off-by: Logan Gunthorpe > >> Cc: Russell King > >> Cc: Kees Cook > >> Cc: Philip Derrin > >> Cc: "Steven Rostedt (VMware)" > >> Cc: Nicolas Pitre > > > > Reviewed-by: Mike Rapoport > > > > Strangely, I've got a feeling I've already reviewed such patch from a > > different person... > > You're probably referring to [1] which was for arm64 and was redundant > as my patch for that architecture was already picked up by Catalin. I've found the patch [1] I mentioned, and it was for ARM. > I was the person who originally introduced memblocks_present() and I'm > still hoping to get the cleanup patches for the arm and sh arches to be > picked up. AFAIK, For ARM you'd need to put it into Russel's patch tracking system [2]. > Thanks, > > Logan > > [1] > https://lore.kernel.org/lkml/20190210093738.30923-1-peng.fan@nxp.com/T/#u > [1] https://lore.kernel.org/lkml/20190211131602.3294-1-peng.fan@nxp.com [2] https://www.arm.linux.org.uk/developer/patches/ -- Sincerely yours, Mike. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel