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>,
ardb@kernel.org, Nicolas Pitre <nico@fluxnic.net>
Subject: [GIT PULL 1/2] ARM: permit relative phys-to-virt alignment of >= 2 MiB
Date: Sat, 26 Sep 2020 11:56:11 +0200 [thread overview]
Message-ID: <20200926095612.29347-1-ardb@kernel.org> (raw)
The following changes since commit 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5:
Linux 5.9-rc1 (2020-08-16 13:04:57 -0700)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git tags/arm-p2v-for-v5.10
for you to fetch changes up to b9cdfe66e33df899797d66e1840889df25433df6:
ARM: p2v: reduce p2v alignment requirement to 2 MiB (2020-09-26 11:41:21 +0200)
Cc: Russell King <linux+pull@armlinux.org.uk>
Cc: Nicolas Pitre <nico@fluxnic.net>
Cc: Linus Walleij <linus.walleij@linaro.org>
----------------------------------------------------------------
Implement the necessary changes in the ARM assembler boot code to permit
the relative alignment of the physical and the virtual addresses of the
kernel to be as little as 2 MiB, as opposed to the minimum of 16 MiB we
support today.
Series was posted here, and reviewed by Nicolas Pitre and Linus Walleij:
https://lore.kernel.org/linux-arm-kernel/20200921154117.757-1-ardb@kernel.org/
----------------------------------------------------------------
Ard Biesheuvel (11):
ARM: assembler: introduce adr_l, ldr_l and str_l macros
ARM: module: add support for place relative relocations
ARM: p2v: fix handling of LPAE translation in BE mode
ARM: p2v: move patching code to separate assembler source file
ARM: p2v: factor out shared loop processing
ARM: p2v: factor out BE8 handling
ARM: p2v: drop redundant 'type' argument from __pv_stub
ARM: p2v: use relative references in patch site arrays
ARM: p2v: simplify __fixup_pv_table()
ARM: p2v: switch to MOVW for Thumb2 and ARM/LPAE
ARM: p2v: reduce p2v alignment requirement to 2 MiB
arch/arm/Kconfig | 2 +-
arch/arm/include/asm/assembler.h | 84 ++++++++++++++
arch/arm/include/asm/elf.h | 5 +
arch/arm/include/asm/memory.h | 57 +++++++---
arch/arm/kernel/Makefile | 1 +
arch/arm/kernel/head.S | 142 -----------------------
arch/arm/kernel/module.c | 20 +++-
arch/arm/kernel/phys2virt.S | 238 +++++++++++++++++++++++++++++++++++++++
8 files changed, 387 insertions(+), 162 deletions(-)
create mode 100644 arch/arm/kernel/phys2virt.S
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next reply other threads:[~2020-09-26 9:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-26 9:56 Ard Biesheuvel [this message]
2020-09-26 9:56 ` [GIT PULL 2/2] ARM assembler cleanups 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=20200926095612.29347-1-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).