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=-13.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 5E4DEC2B9F4 for ; Mon, 14 Jun 2021 14:10:11 +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 11D146128C for ; Mon, 14 Jun 2021 14:10:11 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 11D146128C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+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.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc: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=uaCoWP+EmUUvWNvqATTg6mm5M39gSjG2toNf3kgyyXk=; b=Wl0aFORekaWtLx XZoyZLY68fOdB6iOZDlK6gUIsC1W2NXh7vvTwRmiAEm7pc+SaH58P8QVSpYjQpTQ3R5r8geZ/Z+vP Voa0r8joC+cntuobJ63DOWlKLEyQYBe9+Vm6M2cnBotTt2ZvRm37QTz3WFnQM/18+Xd2gfohKS5sM VbsvMqhvVDdZNJaOe1mI/uHaEOTX7FfuseITNz2DWA7hLGf4gMUqN+ZauS0ZKlbN4DBAWnn3AcLAI m00u0nnLE2DuRj5/2zrXksdLID+kQYzeP9qLpxeutPub5EmLqLqY0jy94KOkADViNbN734yuDi3MB MZsFaJK0tmoDJ6Ugshgw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lsnGf-00ESCH-Q2; Mon, 14 Jun 2021 14:08:45 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lsnGb-00ESBA-Ry for linux-arm-kernel@lists.infradead.org; Mon, 14 Jun 2021 14:08:43 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 7C5B21FB; Mon, 14 Jun 2021 07:08:39 -0700 (PDT) Received: from C02TD0UTHF1T.local (unknown [10.57.9.225]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id E56BD3F70D; Mon, 14 Jun 2021 07:08:37 -0700 (PDT) Date: Mon, 14 Jun 2021 15:08:35 +0100 From: Mark Rutland To: Anshuman Khandual Cc: linux-arm-kernel@lists.infradead.org, Catalin Marinas , Will Deacon , linux-kernel@vger.kernel.org, aisheng.dong@arm.com Subject: Re: [PATCH] arm64/mm: Drop SWAPPER_INIT_MAP_SIZE Message-ID: <20210614140835.GB27788@C02TD0UTHF1T.local> References: <1623665411-20055-1-git-send-email-anshuman.khandual@arm.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1623665411-20055-1-git-send-email-anshuman.khandual@arm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210614_070841_995603_D44ECDA8 X-CRM114-Status: GOOD ( 14.73 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, Jun 14, 2021 at 03:40:11PM +0530, Anshuman Khandual wrote: > The commit cdef5f6e9e0e ("arm64: mm: allocate pagetables anywhere") had > dropped the last reference to SWAPPER_INIT_MAP_SIZE. Hence just clean up. > > Cc: Catalin Marinas > Cc: Will Deacon > Cc: Mark Rutland > Cc: linux-arm-kernel@lists.infradead.org > Cc: linux-kernel@vger.kernel.org > Signed-off-by: Anshuman Khandual > --- > This applies on v5.13-rc6. Dong Aisheng had a patch to do this, along with a few other cleanup patches: https://lore.kernel.org/r/20210518101405.1048860-1-aisheng.dong@nxp.com Thanks, Mark. > > arch/arm64/include/asm/kernel-pgtable.h | 3 --- > 1 file changed, 3 deletions(-) > > diff --git a/arch/arm64/include/asm/kernel-pgtable.h b/arch/arm64/include/asm/kernel-pgtable.h > index a848da2b4d90..1260187adb31 100644 > --- a/arch/arm64/include/asm/kernel-pgtable.h > +++ b/arch/arm64/include/asm/kernel-pgtable.h > @@ -100,9 +100,6 @@ > #define SWAPPER_TABLE_SHIFT PMD_SHIFT > #endif > > -/* The size of the initial kernel direct mapping */ > -#define SWAPPER_INIT_MAP_SIZE (_AC(1, UL) << SWAPPER_TABLE_SHIFT) > - > /* > * Initial memory map attributes. > */ > -- > 2.20.1 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel