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=-17.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_PULL_REQUEST,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT 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 69222C4363A for ; Wed, 28 Oct 2020 20:48:57 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 DDC8D24823 for ; Wed, 28 Oct 2020 20:48:56 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="AXf8Ztid"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="qAiKEua0" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DDC8D24823 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org 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=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:MIME-Version:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:References:In-Reply-To:Message-Id:Date:Subject:To: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=EQouhwfr0XNfsgmQpWMXL/U5yqT0j/hsktgy4o40SvY=; b=AXf8Ztidlbouu22zRuuHLw3+/J 7Er4Z96o5vru8SxPxRufxjQEKJKjeZkvvhyN7iyMTsKnqb84U1Lq/Pv+oqVo9Tq/qnTpJR3Wfr56l NT8oJSiuq/5JUoSQWJZvaHAe/7ZPfd0kPHVh0PzbpvlaHNMxODh/uqvLhJlwIqt258f0uI9BFtD2j yp69uYhsmp6DFsdLR3l30UFx8amRoJEs+dMd2Kc1UJm/MppxTOMq1DXk4BJkl0rmvdv1NXzecBIgy HSGuaaJ2F/znij0J7BTJJQWFNan0xh5Hd5TbFPVuUe0dbuq3+UDB1pkEdArU8p4YWC++1CZkItdwC wQwgjgGA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kXsLz-0000lQ-CE; Wed, 28 Oct 2020 20:47:31 +0000 Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kXsLS-0000az-6m for linux-arm-kernel@lists.infradead.org; Wed, 28 Oct 2020 20:47:01 +0000 Received: from e123331-lin.nice.arm.com (lfbn-nic-1-188-42.w2-15.abo.wanadoo.fr [2.15.37.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 3087524823; Wed, 28 Oct 2020 20:46:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603918017; bh=2qLEvasH0Ce6iGlgGM8GE0zFYwCcvioEwjElV/S9vRM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=qAiKEua0E1yQrd8M8HQMduiGCWtfPOT00PHZEUh8LltuVSNAQUdj2Lfzx0D0wakzu HBkFz1UEIgfX0qLdZ/wJp/bsvvRUjsRhM6xqQ4Xww8Q4KDstaLWOrk6mm0xDbJ9c5l G+SuQu396CBtBsNH12BB3BOWLa35BdGKvLDGab+c= From: Ard Biesheuvel To: linux-arm-kernel@lists.infradead.org Subject: [GIT PULL v2 2/2] ARM assembler cleanups Date: Wed, 28 Oct 2020 21:46:49 +0100 Message-Id: <20201028204649.24830-2-ardb@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20201028204649.24830-1-ardb@kernel.org> References: <20201028204649.24830-1-ardb@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201028_164659_765828_26CE8E9A X-CRM114-Status: GOOD ( 12.38 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Linus Walleij , Russell King , Nicolas Pitre MIME-Version: 1.0 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 The following changes since commit 9443076e4330a14ae2c6114307668b98a8293b77: ARM: p2v: reduce p2v alignment requirement to 2 MiB (2020-10-28 16:59:43 +0100) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git tags/arm-adrl-replacement-for-v5.11 for you to fetch changes up to aaac3733171fca948c4fb66b78257620e3885339: ARM: kvm: replace open coded VA->PA calculations with adr_l call (2020-10-28 17:05:40 +0100) Change since v1 pull request: - rebase onto v5.10-rc1 + PR 1/2 Cc: Russell King Cc: Nicolas Pitre Cc: Linus Walleij ---------------------------------------------------------------- Tidy up open coded relative references in asm Use the newly introduced adr_l/ldr_l/str_l/mov_l assembler macros to replace open coded VA-to-PA arithmetic in various places in the code. This avoids the use of literals on v7+ CPUs, reduces the footprint of the code in most cases, and generally makes the code easier to follow. Series was posted here, and reviewed by Nicolas Pitre: https://lore.kernel.org/linux-arm-kernel/20200914095706.3985-1-ardb@kernel.org/ ---------------------------------------------------------------- Ard Biesheuvel (9): ARM: efistub: replace adrl pseudo-op with adr_l macro invocation ARM: head-common.S: use PC-relative insn sequence for __proc_info ARM: head-common.S: use PC-relative insn sequence for idmap creation ARM: head.S: use PC-relative insn sequence for secondary_data ARM: kernel: use relative references for UP/SMP alternatives ARM: head: use PC-relative insn sequence for __smp_alt ARM: sleep.S: use PC-relative insn sequence for sleep_save_sp/mpidr_hash ARM: head.S: use PC relative insn sequence to calculate PHYS_OFFSET ARM: kvm: replace open coded VA->PA calculations with adr_l call arch/arm/boot/compressed/head.S | 18 ++---------- arch/arm/include/asm/assembler.h | 4 +-- arch/arm/include/asm/processor.h | 2 +- arch/arm/kernel/head-common.S | 22 ++++---------- arch/arm/kernel/head.S | 63 ++++++++++------------------------------ arch/arm/kernel/hyp-stub.S | 27 ++++++++--------- arch/arm/kernel/sleep.S | 19 ++++-------- 7 files changed, 44 insertions(+), 111 deletions(-) _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel