Message ID | 20241014105912.3207374-50-ryan.roberts@arm.com (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id C6DB2D1A43B for <linux-mm@archiver.kernel.org>; Mon, 14 Oct 2024 11:02:04 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 4E5A36B00E2; Mon, 14 Oct 2024 07:02:02 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 46DC16B00E4; Mon, 14 Oct 2024 07:02:02 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 2C0946B00E5; Mon, 14 Oct 2024 07:02:02 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) by kanga.kvack.org (Postfix) with ESMTP id 0C1886B00E2 for <linux-mm@kvack.org>; Mon, 14 Oct 2024 07:02:02 -0400 (EDT) Received: from smtpin13.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay04.hostedemail.com (Postfix) with ESMTP id 28C591A0D6B for <linux-mm@kvack.org>; Mon, 14 Oct 2024 11:01:48 +0000 (UTC) X-FDA: 82671917832.13.01DBC17 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by imf27.hostedemail.com (Postfix) with ESMTP id 0AB6140026 for <linux-mm@kvack.org>; Mon, 14 Oct 2024 11:01:53 +0000 (UTC) Authentication-Results: imf27.hostedemail.com; dkim=none; dmarc=pass (policy=none) header.from=arm.com; spf=pass (imf27.hostedemail.com: domain of ryan.roberts@arm.com designates 217.140.110.172 as permitted sender) smtp.mailfrom=ryan.roberts@arm.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1728903604; a=rsa-sha256; cv=none; b=mQ8RIRiEmtBcMkqVVebIDJ+U+QG//rX5tfuwSUPzwWR/NPZiZuVWMazCtAUAqWlQObNQ9o WngpvrokqgC/6G15IBiVsnc6ORVTD0yYethLgMr/l7CsmjteCm+H2bj0dbVt6w87YSIMWL FF4WOffb6MpPcjxYveb288UIBW9Ou6U= ARC-Authentication-Results: i=1; imf27.hostedemail.com; dkim=none; dmarc=pass (policy=none) header.from=arm.com; spf=pass (imf27.hostedemail.com: domain of ryan.roberts@arm.com designates 217.140.110.172 as permitted sender) smtp.mailfrom=ryan.roberts@arm.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1728903604; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=1XPkM6wVUNtvQ6sRxRh3jqob0EiliLUCc+oDCpziCPI=; b=b93oYE5zfPBI/vhdrauu0eFlegyv6nHnWHQ1D7GlTmJWP1QatIb3+2WRhEf4ZUOD0vcWgi RqbVM/lWUaEird91qfV1jpY4dl9YZnCUZkSnjNsSCx0nzee0fdwSk1IgX87ZUGskPs3owb D/hsEC6eZxkzMrfoid21Pn8cLyVb+to= 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 0495C1A00; Mon, 14 Oct 2024 04:02:29 -0700 (PDT) Received: from e125769.cambridge.arm.com (e125769.cambridge.arm.com [10.1.196.27]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 0154B3F51B; Mon, 14 Oct 2024 04:01:56 -0700 (PDT) From: Ryan Roberts <ryan.roberts@arm.com> To: Andrew Morton <akpm@linux-foundation.org>, Anshuman Khandual <anshuman.khandual@arm.com>, Ard Biesheuvel <ardb@kernel.org>, Catalin Marinas <catalin.marinas@arm.com>, David Hildenbrand <david@redhat.com>, Greg Marsden <greg.marsden@oracle.com>, Ivan Ivanov <ivan.ivanov@suse.com>, Kalesh Singh <kaleshsingh@google.com>, Marc Zyngier <maz@kernel.org>, Mark Rutland <mark.rutland@arm.com>, Matthias Brugger <mbrugger@suse.com>, Miroslav Benes <mbenes@suse.cz>, Will Deacon <will@kernel.org> Cc: Ryan Roberts <ryan.roberts@arm.com>, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: [RFC PATCH v1 50/57] arm64: Remove PAGE_SZ asm-offset Date: Mon, 14 Oct 2024 11:58:57 +0100 Message-ID: <20241014105912.3207374-50-ryan.roberts@arm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241014105912.3207374-1-ryan.roberts@arm.com> References: <20241014105514.3206191-1-ryan.roberts@arm.com> <20241014105912.3207374-1-ryan.roberts@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Rspamd-Server: rspam12 X-Rspamd-Queue-Id: 0AB6140026 X-Stat-Signature: efehr6bhfrdb9p5x1ojznta98g46u65y X-Rspam-User: X-HE-Tag: 1728903713-911181 X-HE-Meta: U2FsdGVkX19BTQDh2qgMhCn60MqcBrSvQW2AIqEnEW4b3hQF2lT1AFIiRxZTN+I/+af/QDcsXze2iMnpWtECv5xeaJA3woxUfK5etjBxucTVnqB4qqznjswlocbBsXJmPPckPsLQM5ZCsBnZvkpCrSkl4yK1OEa10A7SfGtZjrtBn04Y8jEwkul2dmZP3ZcomyadVME23Xzt9twwD7cdEwMcoNSX2unm/Yrklvi8q2eLRmL7I1kOuM3THsTqg6MK8NfX/4jLggNTqCnUrOOVasUf93deL50EUm6Wb7w2F6Zk0aQ05F1Mm6vY/Ygvmc79Sctsu/D59MnF5aAoNes9FyStXCQ1zm8BS/WJYbu7/q/VghBhxawBNGE+O7dVXA5LEzTWGMlJ8dkEE22lrPuXKqH8QtxqbP5VWRGZKS66dY1cqciDQxnut0z9WyoX2+K6rDG1O3VjgbE0h3SDvac6/7fjsEiSHwSjnm5aGaK+jU412gRq0hw966HnEifZAouRyIjXzaQORBrcljOCb1Twv84UnjTuXUSlK0JlRUsZYh0dq1kNg0+DdWXhXWOtHMirW5mo5130WyoVt04BZz/CPbKffLx/zbtmpcUST4I0OCFRgmJxWPhUXh5WmXGDN016HsUj2ru1GCapfTnRgwmyqrhGlZxiLZ4oZHAs6pq+E6lTitQzN85IZpoitKjJPD3HulTBLGUX76GoMbCzXgzeHDENNV0Oxjsr3ONAtHYbnKtkd54SLVrq3P1cz+1w7QOYWdiqv0R+RV7EDR7FfNby8S4WC3wfCY8R0RrkXqDDJ1bSr1IKEpZzik1KVRAW9Hiqq1LZDYrG8LrcNZOWIglcbDY63xCvPp3hE1BX80YRPKRibF8oxKAdmqBhKTNtD2JYV6tf+tfyr8xuWnyPKsWTT4zr3JsMZYtI6XB8X1hjoaLGAmaTEDGlUXr6Kx4dLNnWC563oo8vrskW75bpoXy AngAp8w6 1/W14wkrZ3YCBFt6iEuMvpZdPeyCT84l0aXQAbTRLOd6UK26b1ENugBZWpX5HXtIPpNzSvuKAADKhffHvvCaLWMd0hG+09clVpzs7IAxNZ3tCmA3a8KzVVaioHMdtfgoRnlAlUyTRBCMVRdRTWe2MtpcieuOSpkRKq2YongYVWgatM44YO0J5XwWSbCA0c5juzz486NeTG4G+C8BPdCBENomV14yJsXAPqUox X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> List-Subscribe: <mailto:majordomo@kvack.org> List-Unsubscribe: <mailto:majordomo@kvack.org> |
Series |
Boot-time page size selection for arm64
|
expand
|
diff --git a/arch/arm64/kernel/asm-offsets.c b/arch/arm64/kernel/asm-offsets.c index 27de1dddb0abe..f32b8d7f00b2a 100644 --- a/arch/arm64/kernel/asm-offsets.c +++ b/arch/arm64/kernel/asm-offsets.c @@ -111,8 +111,6 @@ int main(void) BLANK(); DEFINE(VM_EXEC, VM_EXEC); BLANK(); - DEFINE(PAGE_SZ, PAGE_SIZE); - BLANK(); DEFINE(DMA_TO_DEVICE, DMA_TO_DEVICE); DEFINE(DMA_FROM_DEVICE, DMA_FROM_DEVICE); BLANK();
PAGE_SZ is not used anywhere and for boot-time builds, where it is not a compile-time constant, we don't know the value anyway. So let's remove it. Signed-off-by: Ryan Roberts <ryan.roberts@arm.com> --- ***NOTE*** Any confused maintainers may want to read the cover note here for context: https://lore.kernel.org/all/20241014105514.3206191-1-ryan.roberts@arm.com/ arch/arm64/kernel/asm-offsets.c | 2 -- 1 file changed, 2 deletions(-)