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=-15.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,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 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 EEEC4C2B9F4 for ; Mon, 14 Jun 2021 10:33:31 +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 C6C1F613F0 for ; Mon, 14 Jun 2021 10:33:31 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C6C1F613F0 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.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-Type: Content-Transfer-Encoding:Reply-To:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date: Message-ID:From:References:Cc:To:Subject:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ry5o09LKxrHo2ke6aTRNw4L7qlC53rWmurfTALNk0eg=; b=W/jXaW5+ExjMMq JR8yHLGYoKhA3l8vsHVjs8YyRWmUn4QcoC9kmXoFOQyPF5kTesG9hG03dn/Ekurh+rwGm5vmMNgXK R4DeHGAwLE464wj7Ukl5midGFJMP6+71PmHC+J38jRJPHlv2ukoLwUZeG3pGe/FpWfKHctYpKzxkT bmiVdMuEr/ipy5X3A8uPGuXT/Lp4wzz5I3G7srAHrcWzR3IAYI8lIu2YiPMm3dfyM20UmbfKQN2U1 YE/NJnUr8Aje+k2dAuh1fX0Z/b7wQ8NXMRV+ruadZv9FQqE7mbP7OYoW2IDmMGrLAdWN5sEbzOXjA nK9YpJ8/2L17kN0DxH3Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lsjsv-00DaI0-4K; Mon, 14 Jun 2021 10:32:01 +0000 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lsjsq-00DaGh-Q5 for linux-arm-kernel@lists.infradead.org; Mon, 14 Jun 2021 10:31:58 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1623666715; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=o6nGrqiW9FYJJEgVuL413WY5/v8GKOF9AwrYzHSE1BA=; b=cHek4liHzzAkJHVbXcZOjra4fcll2tVqPLjDuY0Y/+v2+zMDit0vxAzAYJD+CGKeOayyjH 7AU2lGIkS7RWf42mPOsq/IVHLo7ktSNcEhhJIAZdUmTOYE/1nwVExOLkqUKNe88QRkmCha NJFF3q8W5l7TGEexFswQqBSfIpjysGU= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-235-69Z-a6sxPNCpcwaqGwybNg-1; Mon, 14 Jun 2021 06:31:52 -0400 X-MC-Unique: 69Z-a6sxPNCpcwaqGwybNg-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 3EE378B7CE8; Mon, 14 Jun 2021 10:31:37 +0000 (UTC) Received: from [10.64.54.47] (vpn2-54-47.bne.redhat.com [10.64.54.47]) by smtp.corp.redhat.com (Postfix) with ESMTPS id B31FE5C290; Mon, 14 Jun 2021 10:31:34 +0000 (UTC) Subject: Re: [PATCH] arm64/mm: Drop SWAPPER_INIT_MAP_SIZE To: Anshuman Khandual , linux-arm-kernel@lists.infradead.org Cc: Catalin Marinas , Will Deacon , Mark Rutland , linux-kernel@vger.kernel.org References: <1623665411-20055-1-git-send-email-anshuman.khandual@arm.com> From: Gavin Shan Message-ID: Date: Mon, 14 Jun 2021 22:32:38 +1000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.0 MIME-Version: 1.0 In-Reply-To: <1623665411-20055-1-git-send-email-anshuman.khandual@arm.com> Content-Language: en-US X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210614_033156_952337_DD315B4A X-CRM114-Status: GOOD ( 17.49 ) 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: , Reply-To: Gavin Shan Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 6/14/21 8:10 PM, 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. > > arch/arm64/include/asm/kernel-pgtable.h | 3 --- > 1 file changed, 3 deletions(-) > Reviewed-by: Gavin Shan > 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. > */ > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel