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=-14.1 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 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 92C9BC433B4 for ; Tue, 18 May 2021 12:15:58 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (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 5910B60C41 for ; Tue, 18 May 2021 12:15:58 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5910B60C41 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=desiato.20200630; 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=hiec+2JPCYOeM4PZ+1M7VzCjm7pnN32MVCh6I3V+p6M=; b=fJguiSITg+9LcdUUjnd+V2WFh 8DHyUig6qpQYxorViszecupk8us5vF2sHdWHyVqBYScP4H088mqZc/Iao5tpc9wMMIHXOHW27BynZ WM3w4HAPDxPQAmoipEGB/5e2xFG7ZXLYD2uq+2XmFbGZC1HCElSG9oHDCz2QzT8yM2NTfdZR91rS3 PcZFLF0VgCVcR/IPKof4rZ1TqVRF2YzvS33tVM+KKOAvxe5sNmsX6gDaroek/ublNLdyb1bcHYKzh 1FqwmSRGH8pD8QE4OFkgr1C1oyBX3NSffjuSV/rpvugnHeb/YcubJTnLd9C+TMbuNVNXyL9hHkqPW CDB9e68Ww==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1liybc-000iiJ-Va; Tue, 18 May 2021 12:13:49 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1liybY-000ii7-9V for linux-arm-kernel@desiato.infradead.org; Tue, 18 May 2021 12:13:44 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=fzlDvxHXMpqdRTR83C85okfE/PgZAZyqs+dxdunjkqE=; b=GEvGoGnzfNJgmBLORZR99KKyBV FHjAd9gNIcPKZBVdg1sifVd5GreRpjkZqKXwGnUzXg6n4hmzN5StopW33G/maQh1rl5qY8D49yB/h aqXQdcG0weXk2YfxxIs7XDALX8FSk5zlKId3OrkmU69SNm5cV6r7pc+kGU8jUOqAaa3TrikkrB8Rh 5Tltyv0/SjrJWlq7X45doW60FIOp84eCQxTcF+S05vjHQyOB3CX727GAKfUp7eM8L1d3b6iyQtWr7 woyCaQNyTleNXgGWGA8Lj78IYVD0qkJdpUq90X5XZnXt0N7SdhmYzgmVSfecRkDXfj2X6xTcW04M6 +U7tb5hQ==; Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1liybU-00Edi5-Gp for linux-arm-kernel@lists.infradead.org; Tue, 18 May 2021 12:13:42 +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 360F26D; Tue, 18 May 2021 05:13:33 -0700 (PDT) Received: from C02TD0UTHF1T.local (unknown [10.57.6.226]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 781E73F73B; Tue, 18 May 2021 05:13:32 -0700 (PDT) Date: Tue, 18 May 2021 13:13:29 +0100 From: Mark Rutland To: Dong Aisheng Cc: linux-arm-kernel@lists.infradead.org, dongas86@gmail.com Subject: Re: [PATCH 1/4] arm64: mm: remove unneeded SWAPPER_INIT_MAP_SIZE Message-ID: <20210518121329.GF82842@C02TD0UTHF1T.local> References: <20210518101405.1048860-1-aisheng.dong@nxp.com> <20210518101405.1048860-2-aisheng.dong@nxp.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210518101405.1048860-2-aisheng.dong@nxp.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210518_051340_622953_07058AEB X-CRM114-Status: GOOD ( 15.43 ) 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 Tue, May 18, 2021 at 06:14:02PM +0800, Dong Aisheng wrote: > Since commit cdef5f6e9e0e ("arm64: mm: allocate pagetables anywhere"), > arm64 kernel supports allocate pagetables anywhere and this macro > definition is not used anymore. > > Signed-off-by: Dong Aisheng Acked-by: Mark Rutland 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 d44df9d62fc9..e2f103cce7c1 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.25.1 > > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel