From: Ard Biesheuvel <ardb@kernel.org>
To: linux-arm-kernel@lists.infradead.org
Cc: Linus Walleij <linus.walleij@linaro.org>,
Russell King <linux+pull@armlinux.org.uk>,
Nicolas Pitre <nico@fluxnic.net>
Subject: [GIT PULL v2 2/2] ARM assembler cleanups
Date: Wed, 28 Oct 2020 21:46:49 +0100 [thread overview]
Message-ID: <20201028204649.24830-2-ardb@kernel.org> (raw)
In-Reply-To: <20201028204649.24830-1-ardb@kernel.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 <linux+pull@armlinux.org.uk>
Cc: Nicolas Pitre <nico@fluxnic.net>
Cc: Linus Walleij <linus.walleij@linaro.org>
----------------------------------------------------------------
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
next prev parent reply other threads:[~2020-10-28 20:48 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-28 20:46 [GIT PULL v2 1/2] ARM: permit relative phys-to-virt alignment of >= 2 MiB Ard Biesheuvel
2020-10-28 20:46 ` Ard Biesheuvel [this message]
2020-11-09 9:34 ` [GIT PULL v2 2/2] ARM assembler cleanups Ard Biesheuvel
2020-11-09 7:20 ` [GIT PULL v2 1/2] ARM: permit relative phys-to-virt alignment of >= 2 MiB Ard Biesheuvel
2020-11-09 9:30 ` Russell King - ARM Linux admin
2020-11-09 9:33 ` Ard Biesheuvel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20201028204649.24830-2-ardb@kernel.org \
--to=ardb@kernel.org \
--cc=linus.walleij@linaro.org \
--cc=linux+pull@armlinux.org.uk \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=nico@fluxnic.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).