x86/decompressor: Store boot_params pointer in callee save register
Ard Biesheuvel authored

Instead of pushing and popping %RSI several times to preserve the struct
boot_params pointer across the execution of the startup code, move it
into a callee save register before the first call into C, and copy it
back when needed.
Signed-off-by: default avatarArd Biesheuvel <ardb@kernel.org>
Signed-off-by: default avatarBorislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/r/20230807162720.545787-8-ardb@kernel.org
8b63cba7
Name Last commit Last update
Documentation x86/efistub: Simplify and clean up handover entry code
LICENSES LICENSES: Add the copyleft-next-0.3.1 license
arch x86/decompressor: Store boot_params pointer in callee save register
block Merge tag 'block-6.5-2023-07-21' of git://git.kernel.dk/linux
certs KEYS: Add missing function documentation
crypto crypto: algif_hash - Fix race between MORE and non-MORE sends
drivers x86/efistub: Clear BSS in EFI handover protocol entrypoint
fs Merge tag 'v6.5-rc5.vfs.fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs
include Merge tag 'v6.5-rc5.vfs.fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs
init Merge tag 'kbuild-v6.5' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild
io_uring Merge tag 'io_uring-6.5-2023-07-28' of git://git.kernel.dk/linux
ipc Merge branch 'work.namespace' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
kernel Merge tag 'net-6.5-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
lib Merge tag 'bitmap-6.5-rc5' of https://github.com:/norov/linux
mm Merge tag 'mm-hotfixes-stable-2023-07-28-15-52' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
net Merge tag 'ceph-for-6.5-rc5' of https://github.com/ceph/ceph-client
rust rust: fix bindgen build error with UBSAN_BOUNDS_STRICT
samples arm64: ftrace: Add direct call trampoline samples support
scripts Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm
security security: keys: perform capable check only on privileged operations
sound Merge tag 'asoc-fix-v6.5-rc3' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus
tools Merge tag 'hyperv-fixes-signed-20230804' of git://git.kernel.org/pub/scm/linux/kernel/git/hyperv/linux
usr initramfs: Encode dependency on KBUILD_BUILD_TIMESTAMP
virt KVM: Grab a reference to KVM for VM and vCPU stats file descriptors
.clang-format iommu: Add for_each_group_device()
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
.rustfmt.toml
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS
Makefile
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.