No description
Find a file
Ard Biesheuvel 211ceca377 arm64: entry: Simplify tramp_alias macro and tramp_exit routine
The tramp_alias macro constructs the virtual alias of a symbol in the
trampoline text mapping, based on its kernel text address, and does so
in a way that is more convoluted than necessary. So let's simplify that.

Also, now that the address of the vector table is kept in a per-CPU
variable, there is no need to defer the load and the assignment of
VBAR_EL1 to tramp_exit(). This means we can use a PC-relative reference
to the per-CPU variable instead of storing its absolute address in a
global variable in the trampoline rodata.

And given that tramp_alias no longer needs a temp register, this means
we can restore X30 earlier as well, and only leave X29 for tramp_exit()
to restore.

While at it, give some related symbols static linkage, considering that
they are only referenced from the object file that defines them.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Reviewed-by: Will Deacon <will@kernel.org>
Link: https://lore.kernel.org/r/20230418143604.1176437-3-ardb@kernel.org
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
2023-05-25 16:55:19 +01:00
arch arm64: entry: Simplify tramp_alias macro and tramp_exit routine 2023-05-25 16:55:19 +01:00
block block: Deny writable memory mapping if block is read-only 2023-05-19 20:17:10 -06:00
certs
crypto
Documentation ata fixes for 6.4-rc3 2023-05-21 11:46:23 -07:00
drivers fbdev fixes for kernel 6.4-rc3: 2023-05-21 11:13:23 -07:00
fs four ksmbd server fixes 2023-05-21 10:55:31 -07:00
include USB/Thunderbolt fixes for 6.4-rc3 2023-05-20 10:16:38 -07:00
init
io_uring
ipc
kernel
lib
LICENSES
mm
net
rust
samples
scripts
security
sound
tools perf tools fixes for v6.4: 2023-05-21 13:24:59 -07:00
usr
virt KVM: Fix vcpu_array[0] races 2023-05-19 13:56:26 -04:00
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
.rustfmt.toml
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS sound fixes for 6.4-rc3 2023-05-19 10:55:55 -07:00
Makefile Linux 6.4-rc3 2023-05-21 14:05:48 -07:00
README

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.